summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2018-03-03 04:29:46 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-09 22:45:53 +0800
commit9cc16b4d32f9f91dc7000aa726605a1add1899c7 (patch)
treea5f64fa3617b91386193268eb1dc698e10caabe4
parent95ec01ba1ef01ffe3cfa755d3d61e24c863ed9b2 (diff)
crypto: x86/des3_ede - des3_ede_skciphers[] can be static
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>
-rw-r--r--arch/x86/crypto/des3_ede_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/des3_ede_glue.c b/arch/x86/crypto/des3_ede_glue.c
index f9c7bdc5be5a..5c610d4ef9fc 100644
--- a/arch/x86/crypto/des3_ede_glue.c
+++ b/arch/x86/crypto/des3_ede_glue.c
@@ -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",