crypto: api - Move cryptomgr soft dependency into algapi
commitc6ce9c5831
upstream. The soft dependency on cryptomgr is only needed in algapi because if algapi isn't present then no algorithms can be loaded. This also fixes the case where api is built-in but algapi is built as a module as the soft dependency would otherwise get lost. Fixes:8ab23d547f
("crypto: api - Add softdep on cryptomgr") Reported-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Tested-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
ab32ea3ad0
Коммит
40eb05e5e7
|
@ -1277,3 +1277,4 @@ module_exit(crypto_algapi_exit);
|
||||||
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_DESCRIPTION("Cryptographic algorithms API");
|
MODULE_DESCRIPTION("Cryptographic algorithms API");
|
||||||
|
MODULE_SOFTDEP("pre: cryptomgr");
|
||||||
|
|
|
@ -603,4 +603,3 @@ EXPORT_SYMBOL_GPL(crypto_req_done);
|
||||||
|
|
||||||
MODULE_DESCRIPTION("Cryptographic core API");
|
MODULE_DESCRIPTION("Cryptographic core API");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_SOFTDEP("pre: cryptomgr");
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче