summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-09-05 01:52:44 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-14 14:08:52 +0800
commita7e7edfea23fa1f3c910eac897aac41ec9584c38 (patch)
tree8b65493227e68525cd26d69c6bc6d2c12185962f
parent6d39a1241ebc3bdd61d654c3058f0955c28c13fd (diff)
downloadlinux-a7e7edfea23fa1f3c910eac897aac41ec9584c38.tar.bz2
crc-t10dif: crc_t10dif_mutex can be static
Fixes: b76377543b73 ("crc-t10dif: Pick better transform if one becomes available") Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--lib/crc-t10dif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crc-t10dif.c b/lib/crc-t10dif.c
index 6507fa101eff..4d0d47c1ffbd 100644
--- a/lib/crc-t10dif.c
+++ b/lib/crc-t10dif.c
@@ -20,7 +20,7 @@
static struct crypto_shash __rcu *crct10dif_tfm;
static struct static_key crct10dif_fallback __read_mostly;
-DEFINE_MUTEX(crc_t10dif_mutex);
+static DEFINE_MUTEX(crc_t10dif_mutex);
static int crc_t10dif_rehash(struct notifier_block *self, unsigned long val, void *data)
{