Thread (2 messages) flat view 2 messages, 2 authors, 2016-09-22

[PATCH] crypto: sun4i-ss: mark sun4i_hash() static

From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2016-09-22 11:04:41
Also in: linux-crypto, lkml

On Sun, Sep 18, 2016 at 08:52:44PM +0800, Baoyou Xie wrote:
We get 1 warning when building kernel with W=1:
drivers/crypto/sunxi-ss/sun4i-ss-hash.c:168:5: warning: no previous prototype for 'sun4i_hash' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
So this patch marks it 'static'.

Signed-off-by: Baoyou Xie <redacted>
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help