diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2022-02-02 17:46:48 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-02-05 15:10:07 +1100 |
commit | c6ce9c5831cae515d375a01b97ae1778689acf19 (patch) | |
tree | 81974c32f39e8ae6923f7b5c671cae40d6f591a3 /crypto/api.c | |
parent | 47307c31d90ae7d52cebbbc7c1d4ff213213d4e9 (diff) | |
download | linux-c6ce9c5831cae515d375a01b97ae1778689acf19.tar.bz2 |
crypto: api - Move cryptomgr soft dependency into algapi
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: 8ab23d547f65 ("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>
Diffstat (limited to 'crypto/api.c')
-rw-r--r-- | crypto/api.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/api.c b/crypto/api.c index cf0869dd130b..7ddfe946dd56 100644 --- a/crypto/api.c +++ b/crypto/api.c @@ -643,4 +643,3 @@ EXPORT_SYMBOL_GPL(crypto_req_done); MODULE_DESCRIPTION("Cryptographic core API"); MODULE_LICENSE("GPL"); -MODULE_SOFTDEP("pre: cryptomgr"); |