2023-04-07 19:46:03

by Tom Zanussi

[permalink] [raw]
Subject: [PATCH] crypto: ixp4xx - Remove COMPILE_TEST from Kconfig dependencies

COMPILE_TEST was added during the move to drivers/crypto/intel/ but
shouldn't have been as it triggers a build bug when not compiled by
the target compiler. So remove it to match the original.

Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Tom Zanussi <[email protected]>
---
drivers/crypto/intel/ixp4xx/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/intel/ixp4xx/Kconfig b/drivers/crypto/intel/ixp4xx/Kconfig
index af3cc5688328..4cfb1e37f45b 100644
--- a/drivers/crypto/intel/ixp4xx/Kconfig
+++ b/drivers/crypto/intel/ixp4xx/Kconfig
@@ -1,6 +1,6 @@
config CRYPTO_DEV_IXP4XX
tristate "Driver for IXP4xx crypto hardware acceleration"
- depends on (ARCH_IXP4XX || COMPILE_TEST) && IXP4XX_QMGR && IXP4XX_NPE
+ depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE
select CRYPTO_AES
select CRYPTO_DES
select CRYPTO_ECB
--
2.34.1