Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1494575

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

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: sunxi-ss: mark sun4i_hash() static
Date 2016-10-02 16:40 +0200
Message-ID <snQ5P-83S-5@gated-at.bofh.it> (permalink)
References <skML8-4ME-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@linaro.org>

This patch has already been applied.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] crypto: sunxi-ss: mark sun4i_hash() static Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-24 06:30 +0200
  Re: [PATCH] crypto: sunxi-ss: mark sun4i_hash() static Herbert Xu <herbert@gondor.apana.org.au> - 2016-10-02 16:40 +0200

csiph-web