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: da40e7a4ba ("crypto: aes-ce - Convert to skcipher")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
Herbert Xu committed 2016-12-01 21:06:44 +08:00
1 parent e2c1b82330
commit efad2b61ae
1 file changed
+1 -1
+1 -1
View File
@@ -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)
{