crypto: x86/des3_ede - des3_ede_skciphers[] can be static
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 2 Mar 2018 20:29:46 +0000 (04:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Mar 2018 14:45:53 +0000 (22:45 +0800)
Fixes: 09c0f03bf8ce ("crypto: x86/des3_ede - convert to skcipher interface")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/des3_ede_glue.c

index f9c7bdc5be5ae7dc8c06ff715049dabe5973b241..5c610d4ef9fc1a22f423469cce7cd88a607ca21d 100644 (file)
@@ -404,7 +404,7 @@ static struct crypto_alg des3_ede_cipher = {
        }
 };
 
-struct skcipher_alg des3_ede_skciphers[] = {
+static struct skcipher_alg des3_ede_skciphers[] = {
        {
                .base.cra_name          = "ecb(des3_ede)",
                .base.cra_driver_name   = "ecb-des3_ede-asm",