Re: [PATCH] crypto: api - Export crypto_boot_test_finished

From: Michael Ellerman
Date: Mon Oct 25 2021 - 02:28:34 EST


Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> writes:
> Hi Herbert,
>
> On Mon, 27 Sep 2021 19:23:42 +0800 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>>
>> Oops, does this patch fix the problem?
>
> Yes, that fixes my build, thanks.
>
> Tested-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> # 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