aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-10 15:17:56 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-18 05:43:43 -0500
commite17568e15830c6d158f6492b5b60ccdeb0b7b20b (patch)
tree4e7746c6f15a50381c0f2e6157cf1a3b86f3d105 /crypto
parentcb9dde8801292e31e3964236a72f04926cf500b7 (diff)
crypto: user - forward declare crypto_nlsk
Move the declaration of crypto_nlsk into internal/cryptouser.h. This fixes the following sparse warning: crypto/crypto_user_base.c:41:13: warning: symbol 'crypto_nlsk' was not declared. Should it be static? Cc: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/crypto_user_stat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/crypto_user_stat.c b/crypto/crypto_user_stat.c
index 3e9a53233d80..d4d1cb2bedd7 100644
--- a/crypto/crypto_user_stat.c
+++ b/crypto/crypto_user_stat.c
@@ -22,8 +22,6 @@
22 22
23static DEFINE_MUTEX(crypto_cfg_mutex); 23static DEFINE_MUTEX(crypto_cfg_mutex);
24 24
25extern struct sock *crypto_nlsk;
26
27struct crypto_dump_info { 25struct crypto_dump_info {
28 struct sk_buff *in_skb; 26 struct sk_buff *in_skb;
29 struct sk_buff *out_skb; 27 struct sk_buff *out_skb;