diff mbox series

[RFC,cryptodev] crc-t10dif: crc_t10dif_mutex can be static

Message ID 20180904175244.GA29683@ivb42 (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series [RFC,cryptodev] crc-t10dif: crc_t10dif_mutex can be static | expand

Commit Message

Fengguang Wu Sept. 4, 2018, 5:52 p.m. UTC
Fixes: b76377543b73 ("crc-t10dif: Pick better transform if one becomes available")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 crc-t10dif.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Herbert Xu Sept. 14, 2018, 6:11 a.m. UTC | #1
On Wed, Sep 05, 2018 at 01:52:44AM +0800, kbuild test robot wrote:
> 
> Fixes: b76377543b73 ("crc-t10dif: Pick better transform if one becomes available")
> Signed-off-by: kbuild test robot <fengguang.wu@intel.com>

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/lib/crc-t10dif.c b/lib/crc-t10dif.c
index 52f577a3..8e144c3 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)
 {