-
由 Herbert Xu 提交于
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: NNathan Chancellor <nathan@kernel.org> Reported-by: NNaresh Kamboju <naresh.kamboju@linaro.org> Reported-by: Nkernel test robot <lkp@intel.com> Fixes: adad556e ("crypto: api - Fix built-in testing dependency failures") Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
cad439fc