aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crc-t10dif.c
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 /lib/crc-t10dif.c
parentdm: Remove VLA usage from hashes (diff)
downloadlinux-dev-a7e7edfea23fa1f3c910eac897aac41ec9584c38.tar.xz
linux-dev-a7e7edfea23fa1f3c910eac897aac41ec9584c38.zip
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>
Diffstat (limited to 'lib/crc-t10dif.c')
-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)
{