]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
crypto: aesni - Fix failure when pcbc module is absent
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 1 Feb 2017 14:17:39 +0000 (22:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2017 09:45:48 +0000 (17:45 +0800)
commitc26819900036f5b91608051a0fc7c76f6b4ffc7b
treeccffcd7a4410005c8ede82ec5435c85ad01c062b
parente5da5c5667381d2772374ee6a2967b3576c9483d
crypto: aesni - Fix failure when pcbc module is absent

When aesni is built as a module together with pcbc, the pcbc module
must be present for aesni to load.  However, the pcbc module may not
be present for reasons such as its absence on initramfs.  This patch
allows the aesni to function even if the pcbc module is enabled but
not present.

Reported-by: Arkadiusz Miƛkiewicz <arekm@maven.pl>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_glue.c