[PATCH] crypto: aspeed: fix build module error

Sudip Mukherjee sudipm.mukherjee at gmail.com
Mon Aug 29 20:49:30 AEST 2022


On Mon, Aug 29, 2022 at 8:42 AM Neal Liu <neal_liu at aspeedtech.com> wrote:
>
> If CONFIG_MODULES=y and CONFIG_CRYPTO_DEV_ASPEED=m,
> build modpost would be failed.
>
> Error messages:
>   ERROR: modpost: "aspeed_register_hace_hash_algs"
>   [drivers/crypto/aspeed/aspeed_crypto.ko] undefined!
>   ERROR: modpost: "aspeed_unregister_hace_hash_algs"
>   [drivers/crypto/aspeed/aspeed_crypto.ko] undefined!
>
> Change build sequence to fix this.
>
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Neal Liu <neal_liu at aspeedtech.com>

Tested-by: Sudip Mukherjee <sudipm.mukherjee at gmail.com>

-- 
Regards
Sudip


More information about the Linux-aspeed mailing list