diff mbox series

crypto: octeontx2: select CONFIG_NET_DEVLINK

Message ID 41b2f0754d958e2659a88e4c8d005267ef428302.1642763325.git.sthotton@marvell.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series crypto: octeontx2: select CONFIG_NET_DEVLINK | expand

Commit Message

Shijith Thotton Jan. 21, 2022, 11:12 a.m. UTC
OcteonTX2 CPT driver will fail to link without devlink support.

aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_egrp_delete':
otx2_cpt_devlink.c:18: undefined reference to `devlink_priv'
aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_egrp_create':
otx2_cpt_devlink.c:9: undefined reference to `devlink_priv'
aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_uc_info':
otx2_cpt_devlink.c:27: undefined reference to `devlink_priv'

Fixes: fed8f4d5f946 ("crypto: octeontx2 - parameters for custom engine groups")

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
---
 drivers/crypto/marvell/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Herbert Xu Jan. 28, 2022, 6:27 a.m. UTC | #1
Shijith Thotton <sthotton@marvell.com> wrote:
> OcteonTX2 CPT driver will fail to link without devlink support.
> 
> aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_egrp_delete':
> otx2_cpt_devlink.c:18: undefined reference to `devlink_priv'
> aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_egrp_create':
> otx2_cpt_devlink.c:9: undefined reference to `devlink_priv'
> aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_uc_info':
> otx2_cpt_devlink.c:27: undefined reference to `devlink_priv'
> 
> Fixes: fed8f4d5f946 ("crypto: octeontx2 - parameters for custom engine groups")
> 
> Signed-off-by: Shijith Thotton <sthotton@marvell.com>
> ---
> drivers/crypto/marvell/Kconfig | 1 +
> 1 file changed, 1 insertion(+)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/marvell/Kconfig b/drivers/crypto/marvell/Kconfig
index 9125199f1702..a48591af12d0 100644
--- a/drivers/crypto/marvell/Kconfig
+++ b/drivers/crypto/marvell/Kconfig
@@ -47,6 +47,7 @@  config CRYPTO_DEV_OCTEONTX2_CPT
 	select CRYPTO_SKCIPHER
 	select CRYPTO_HASH
 	select CRYPTO_AEAD
+	select NET_DEVLINK
 	help
 		This driver allows you to utilize the Marvell Cryptographic
 		Accelerator Unit(CPT) found in OcteonTX2 series of processors.