Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1488773
| From | Herbert Xu <herbert@gondor.apana.org.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] crypto: sun4i-ss: mark sun4i_hash() static |
| Date | 2016-09-22 13:10 +0200 |
| Message-ID | <ska38-5ym-35@gated-at.bofh.it> (permalink) |
| References | <siJRn-8eJ-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@linaro.org> Patch applied. Thanks. -- 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 | Next — Previous in thread | Find similar | Unroll thread
[PATCH] crypto: sun4i-ss: mark sun4i_hash() static Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-18 15:00 +0200 Re: [PATCH] crypto: sun4i-ss: mark sun4i_hash() static Herbert Xu <herbert@gondor.apana.org.au> - 2016-09-22 13:10 +0200
csiph-web