[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160922104542.GI5884@gondor.apana.org.au>
Date: Thu, 22 Sep 2016 18:45:42 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: clabbe.montjoie@...il.com, davem@...emloft.net,
maxime.ripard@...e-electrons.com, wens@...e.org,
linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, arnd@...db.de, xie.baoyou@....com.cn
Subject: Re: [PATCH] crypto: sun4i-ss: mark sun4i_hash() static
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 <baoyou.xie@...aro.org>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists