Thread (4 messages) 4 messages, 3 authors, 2022-09-05

[PATCH] crypto: aspeed: fix build module error

From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Date: 2022-08-29 10:50:15
Also in: linux-arm-kernel, linux-crypto, lkml

On Mon, Aug 29, 2022 at 8:42 AM Neal Liu [off-list ref] 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 <redacted>
Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
Tested-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>

-- 
Regards
Sudip
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help