[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161002143736.GB18268@gondor.apana.org.au>
Date: Sun, 2 Oct 2016 22:37:36 +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: sunxi-ss: mark sun4i_hash() static
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@...aro.org>
This patch has already been applied.
--
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