RE: build failure of next-20220829 due to 108713a713c7 ("crypto: aspeed - Add HACE hash driver")

From: Neal Liu
Date: Mon Aug 29 2022 - 06:04:59 EST


> -----Original Message-----
> From: Sudip Mukherjee (Codethink) <sudipm.mukherjee@xxxxxxxxx>
> Sent: Monday, August 29, 2022 6:01 PM
> To: Neal Liu <neal_liu@xxxxxxxxxxxxxx>; Johnny Huang
> <johnny_huang@xxxxxxxxxxxxxx>; Dhananjay Phadke
> <dphadke@xxxxxxxxxxxxxxxxxxx>; Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>; Joel Stanley <joel@xxxxxxxxx>;
> Andrew Jeffery <andrew@xxxxxxxx>; linux-aspeed@xxxxxxxxxxxxxxxx;
> linux-crypto@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; linux-next@xxxxxxxxxxxxxxx
> Subject: build failure of next-20220829 due to 108713a713c7 ("crypto: aspeed
> - Add HACE hash driver")
>
> Hi All,
>
> The builds of arm allmodconfig have failed to build next-20220829 with the
> error:
>
> ERROR: modpost: "aspeed_register_hace_hash_algs"
> [drivers/crypto/aspeed/aspeed_crypto.ko] undefined!
> ERROR: modpost: "aspeed_unregister_hace_crypto_algs"
> [drivers/crypto/aspeed/aspeed_crypto.ko] undefined!
> ERROR: modpost: "aspeed_register_hace_crypto_algs"
> [drivers/crypto/aspeed/aspeed_crypto.ko] undefined!
> ERROR: modpost: "aspeed_unregister_hace_hash_algs"
> [drivers/crypto/aspeed/aspeed_crypto.ko] undefined!
>
>
> git bisect pointed to 108713a713c7 ("crypto: aspeed - Add HACE hash driver")
>
> I will be happy to test any patch or provide any extra log if needed.
>
>
> --
> Regards
> Sudip

Hi Sudip,

I already sent another patch to fix this build error, could you give it a try?
https://lkml.org/lkml/2022/8/29/131
Thanks

Best Regards,
-Neal