diff mbox series

scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE

Message ID 20191009151128.32411-1-tbogendoerfer@suse.de (mailing list archive)
State Mainlined
Commit 8cbf0c173aa096dda526d1ccd66fc751c31da346
Headers show
Series scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE | expand

Commit Message

Thomas Bogendoerfer Oct. 9, 2019, 3:11 p.m. UTC
When building a kernel with SCSI_SNI_53C710 enabled, Kconfig warns:

WARNING: unmet direct dependencies detected for 53C700_LE_ON_BE
  Depends on [n]: SCSI_LOWLEVEL [=y] && SCSI [=y] && SCSI_LASI700 [=n]
  Selected by [y]:
  - SCSI_SNI_53C710 [=y] && SCSI_LOWLEVEL [=y] && SNI_RM [=y] && SCSI [=y]

Add the missing depends SCSI_SNI_53C710 to 53C700_LE_ON_BE to fix it.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 drivers/scsi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen Oct. 10, 2019, 3:37 a.m. UTC | #1
Thomas,

> Add the missing depends SCSI_SNI_53C710 to 53C700_LE_ON_BE to fix it.

Applied to 5.4/scsi-fixes, thanks!
diff mbox series

Patch

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 1b92f3c19ff3..90cf4691b8c3 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -898,7 +898,7 @@  config SCSI_SNI_53C710
 
 config 53C700_LE_ON_BE
 	bool
-	depends on SCSI_LASI700
+	depends on SCSI_LASI700 || SCSI_SNI_53C710
 	default y
 
 config SCSI_STEX