Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efad2b61 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: aes-ce - Make aes_simd_algs static



The variable aes_simd_algs should be static.  In fact if it isn't
it causes build errors when multiple copies of aes-ce-glue.c are
built into the kernel.

Fixes: da40e7a4 ("crypto: aes-ce - Convert to skcipher")
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e2c1b823
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -407,7 +407,7 @@ static struct skcipher_alg aes_algs[] = { {
	.decrypt	= xts_decrypt,
} };

struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)];
static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)];

static void aes_exit(void)
{