summaryrefslogtreecommitdiffstats
path: root/crypto/crypto_user.c
diff options
context:
space:
mode:
authorJussi Kivilinna2012-08-28 15:46:54 +0200
committerHerbert Xu2012-09-06 22:17:05 +0200
commit66ce0b0f290b2cf1ac74a30ddd13a9a3e67296ce (patch)
tree044232fd7c2a9b99d1e511cc6de050ccbb4c8369 /crypto/crypto_user.c
parentcrypto: cast6-avx - tune assembler code for more performance (diff)
downloadkernel-qcow2-linux-66ce0b0f290b2cf1ac74a30ddd13a9a3e67296ce.tar.gz
kernel-qcow2-linux-66ce0b0f290b2cf1ac74a30ddd13a9a3e67296ce.tar.xz
kernel-qcow2-linux-66ce0b0f290b2cf1ac74a30ddd13a9a3e67296ce.zip
crypto: crypto_user - fix sparse warnings (symbol was not declared, should be static?)
Fix "symbol 'x' was not declared. Should it be static?" sparse warnings. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_user.c')
-rw-r--r--crypto/crypto_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c
index ba2c611154af..b590471abfa1 100644
--- a/crypto/crypto_user.c
+++ b/crypto/crypto_user.c
@@ -30,7 +30,7 @@
#include "internal.h"
-DEFINE_MUTEX(crypto_cfg_mutex);
+static DEFINE_MUTEX(crypto_cfg_mutex);
/* The crypto netlink socket */
static struct sock *crypto_nlsk;