diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2021-10-19 21:28:02 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-10-29 21:04:02 +0800 |
commit | cad439fc040efe5f4381e3a7d583c5c200dbc186 (patch) | |
tree | caf41548f2537f6e37f080fddb39c040620e2cf5 /net/appletalk | |
parent | 3ae88f676aa63366ffa9eebb8ae787c7e19f0c57 (diff) |
crypto: api - Do not create test larvals if manager is disabled
The delayed boot-time testing patch created a dependency loop
between api.c and algapi.c because it added a crypto_alg_tested
call to the former when the crypto manager is disabled.
We could instead avoid creating the test larvals if the crypto
manager is disabled. This avoids the dependency loop as well
as saving some unnecessary work, albeit in a very unlikely case.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Fixes: adad556efcdd ("crypto: api - Fix built-in testing dependency failures")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions