netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: fix kconfig dependency warnings for SCSI_FC_ATTRS
@ 2014-09-19 23:50 Randy Dunlap
  2014-09-22 14:42 ` Christoph Hellwig
  2014-09-22 16:11 ` David Miller
  0 siblings, 2 replies; 6+ messages in thread
From: Randy Dunlap @ 2014-09-19 23:50 UTC (permalink / raw)
  To: netdev@vger.kernel.org, David Miller, linux-scsi
  Cc: James Bottomley, Anish Bhatt

From: Randy Dunlap <rdunlap@infradead.org>

Fix kconfig dependency warnings which can lead to build errors:

warning: (SCSI_BNX2X_FCOE && LIBFCOE && TCM_QLA2XXX) selects LIBFC which has unmet direct dependencies (SCSI_LOWLEVEL && SCSI && SCSI_FC_ATTRS)

warning: (FCOE && FCOE_FNIC) selects LIBFCOE which has unmet direct dependencies (SCSI_LOWLEVEL && SCSI && SCSI_FC_ATTRS)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/scsi/Kconfig         |    3 +++
 drivers/scsi/qla2xxx/Kconfig |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

--- linux-next-20140918.orig/drivers/scsi/Kconfig
+++ linux-next-20140918/drivers/scsi/Kconfig
@@ -601,6 +601,7 @@ config LIBFC
 
 config LIBFCOE
 	tristate "LibFCoE module"
+	depends on SCSI_FC_ATTRS
 	select LIBFC
 	---help---
 	  Library for Fibre Channel over Ethernet module
@@ -608,6 +609,7 @@ config LIBFCOE
 config FCOE
 	tristate "FCoE module"
 	depends on PCI
+	depends on SCSI_FC_ATTRS
 	select LIBFCOE
 	---help---
 	  Fibre Channel over Ethernet module
@@ -615,6 +617,7 @@ config FCOE
 config FCOE_FNIC
 	tristate "Cisco FNIC Driver"
 	depends on PCI && X86
+	depends on SCSI_FC_ATTRS
 	select LIBFCOE
 	help
 	  This is support for the Cisco PCI-Express FCoE HBA.
--- linux-next-20140918.orig/drivers/scsi/qla2xxx/Kconfig
+++ linux-next-20140918/drivers/scsi/qla2xxx/Kconfig
@@ -30,7 +30,7 @@ config SCSI_QLA_FC
 
 config TCM_QLA2XXX
 	tristate "TCM_QLA2XXX fabric module for Qlogic 2xxx series target mode HBAs"
-	depends on SCSI_QLA_FC && TARGET_CORE
+	depends on SCSI_QLA_FC && TARGET_CORE && SCSI_FC_ATTRS
 	select LIBFC
 	select BTREE
 	default n

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-22 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-19 23:50 [PATCH] scsi: fix kconfig dependency warnings for SCSI_FC_ATTRS Randy Dunlap
2014-09-22 14:42 ` Christoph Hellwig
2014-09-22 15:49   ` David Miller
2014-09-22 15:56   ` David Miller
2014-09-22 16:44     ` Christoph Hellwig
2014-09-22 16:11 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).