Re: build failure of next-20220719 due to 'missing MODULE_LICENSE() in lib/crypto/libsha1.o'

From: Eric Biggers
Date: Tue Jul 19 2022 - 14:04:37 EST


On Tue, Jul 19, 2022 at 03:36:31PM +0100, Sudip Mukherjee (Codethink) wrote:
> Hi All,
>
> Not sure if it has been reported, builds of arm milbeaut_m10v_defconfig
> have failed to build next-20220719 with the error:
>
> ERROR: modpost: missing MODULE_LICENSE() in lib/crypto/libsha1.o
>
> caused by ec8f7f4821d5 ("crypto: lib - make the sha1 library optional").
>

I already sent out a fix for this:
https://lore.kernel.org/linux-crypto/20220719030415.32113-1-ebiggers@xxxxxxxxxx/

- Eric