Message ID | 20210927112341.GA22483@gondor.apana.org.au (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
Series | crypto: api - Export crypto_boot_test_finished | expand |
Hi Herbert, On Mon, 27 Sep 2021 19:23:42 +0800 Herbert Xu <herbert@gondor.apana.org.au> wrote: > > Oops, does this patch fix the problem? Yes, that fixes my build, thanks. Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # ppc32 build
Stephen Rothwell <sfr@canb.auug.org.au> writes: > Hi Herbert, > > On Mon, 27 Sep 2021 19:23:42 +0800 Herbert Xu <herbert@gondor.apana.org.au> wrote: >> >> Oops, does this patch fix the problem? > > Yes, that fixes my build, thanks. > > Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # ppc32 build It fixes the build, but modules_install still fails: $ git checkout adad556efcdd42a1d9e060cbe5f6161cccf1fa28 HEAD is now at adad556efcdd crypto: api - Fix built-in testing dependency failures $ git show e42dff467ee6 | patch -p1 # apply fixup patch patching file crypto/api.c $ make -s -j $(nproc) modules $ make -s modules_install depmod: ERROR: Cycle detected: crypto -> crypto_algapi -> crypto depmod: ERROR: Found 2 modules in dependency cycles! make: *** [Makefile:1801: modules_install] Error 1 cheers
On Mon, Oct 25, 2021 at 05:28:24PM +1100, Michael Ellerman wrote: > > It fixes the build, but modules_install still fails: > > $ git checkout adad556efcdd42a1d9e060cbe5f6161cccf1fa28 > HEAD is now at adad556efcdd crypto: api - Fix built-in testing dependency failures Sorry, the fix is in the queue: https://patchwork.kernel.org/project/linux-crypto/patch/20211019132802.GA14233@gondor.apana.org.au/ Cheers,
Herbert Xu <herbert@gondor.apana.org.au> writes: > On Mon, Oct 25, 2021 at 05:28:24PM +1100, Michael Ellerman wrote: >> >> It fixes the build, but modules_install still fails: >> >> $ git checkout adad556efcdd42a1d9e060cbe5f6161cccf1fa28 >> HEAD is now at adad556efcdd crypto: api - Fix built-in testing dependency failures > > Sorry, the fix is in the queue: > > https://patchwork.kernel.org/project/linux-crypto/patch/20211019132802.GA14233@gondor.apana.org.au/ Thanks, that fixes it for me. cheers
diff --git a/crypto/api.c b/crypto/api.c index 1cf1f03347cc..ee5991fe11f8 100644 --- a/crypto/api.c +++ b/crypto/api.c @@ -32,6 +32,7 @@ BLOCKING_NOTIFIER_HEAD(crypto_chain); EXPORT_SYMBOL_GPL(crypto_chain); DEFINE_STATIC_KEY_FALSE(crypto_boot_test_finished); +EXPORT_SYMBOL_GPL(crypto_boot_test_finished); static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);