summaryrefslogtreecommitdiffstats
path: root/include/crypto/morus640_glue.h
diff options
context:
space:
mode:
authorvaldis.kletnieks@vt.edu <valdis.kletnieks@vt.edu>2018-09-26 18:49:38 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2018-10-05 10:22:48 +0800
commit90a8c78b8b5e2c8537a170ee675127f02ca94532 (patch)
tree4d49f0e580c5ee4f55dd6ed30fb3bd69742163c2 /include/crypto/morus640_glue.h
parent96808c596580a04a91e3e662ae2310e5ed421ecc (diff)
downloadblackbird-op-linux-90a8c78b8b5e2c8537a170ee675127f02ca94532.tar.gz
blackbird-op-linux-90a8c78b8b5e2c8537a170ee675127f02ca94532.zip
crypto/morus(640,1280) - make crypto_...-algs static
sparse complains thusly: CHECK arch/x86/crypto/morus640-sse2-glue.c arch/x86/crypto/morus640-sse2-glue.c:38:1: warning: symbol 'crypto_morus640_sse2_algs' was not declared. Should it be static? CHECK arch/x86/crypto/morus1280-sse2-glue.c arch/x86/crypto/morus1280-sse2-glue.c:38:1: warning: symbol 'crypto_morus1280_sse2_algs' was not declared. Should it be static? CHECK arch/x86/crypto/morus1280-avx2-glue.c arch/x86/crypto/morus1280-avx2-glue.c:38:1: warning: symbol 'crypto_morus1280_avx2_algs' was not declared. Should it be static? and sparse is correct - these don't need to be global and polluting the namespace. Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Acked-by: Ondrej Mosnacek <omosnacek@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/morus640_glue.h')
-rw-r--r--include/crypto/morus640_glue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/morus640_glue.h b/include/crypto/morus640_glue.h
index 90c8db07e740..27fa790a2362 100644
--- a/include/crypto/morus640_glue.h
+++ b/include/crypto/morus640_glue.h
@@ -82,7 +82,7 @@ void cryptd_morus640_glue_exit_tfm(struct crypto_aead *aead);
{ \
} \
\
- struct aead_alg crypto_morus640_##id##_algs[] = {\
+ static struct aead_alg crypto_morus640_##id##_algs[] = {\
{ \
.setkey = crypto_morus640_glue_setkey, \
.setauthsize = crypto_morus640_glue_setauthsize, \
OpenPOWER on IntegriCloud