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

From: Herbert Xu
Date: Sun Oct 02 2016 - 10:38:37 EST

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 is
> declared and don't need a declaration, but can be made static.
> So this patch marks it 'static'.
> Signed-off-by: Baoyou Xie <baoyou.xie@xxxxxxxxxx>

This patch has already been applied.
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key: