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

2016-10-02 Thread Herbert Xu
On Sat, Sep 24, 2016 at 12:28:46PM +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 i

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

2016-09-23 Thread Baoyou Xie
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 th