From c7c83582aeee6f8bc54915cce6d64d3307bf1ff6 Mon Sep 17 00:00:00 2001 From: Sebastien Buisson Date: Wed, 11 Mar 2020 11:05:48 +0100 Subject: [PATCH 1/1] LU-13355 crypto: adler32 wrapper in libcfs libcfs has wrappers in order to be able to use adler32 as any other crypto module. But libcfs should not be considered as the owner of this implementation. Signed-off-by: Sebastien Buisson Change-Id: I66da322b7deae7aeb7f2fb95ede9ee1eff43c70c Reviewed-on: https://review.whamcloud.com/37878 Tested-by: jenkins Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Tested-by: Maloo --- libcfs/libcfs/linux-crypto-adler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcfs/libcfs/linux-crypto-adler.c b/libcfs/libcfs/linux-crypto-adler.c index 44bf374..ee47fb5 100644 --- a/libcfs/libcfs/linux-crypto-adler.c +++ b/libcfs/libcfs/linux-crypto-adler.c @@ -119,7 +119,7 @@ static struct shash_alg alg = { .cra_priority = 100, .cra_blocksize = CHKSUM_BLOCK_SIZE, .cra_ctxsize = sizeof(u32), - .cra_module = THIS_MODULE, + .cra_module = NULL, .cra_init = adler32_cra_init, } }; -- 1.8.3.1