All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] scsi: Fix SRP_ATTRS Kconfig
@ 2007-07-30 16:12 Brian King
  0 siblings, 0 replies; 2+ messages in thread
From: Brian King @ 2007-07-30 16:12 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, brking


Since the srp transport class was added, if scsi tgt support is not
selected, the current Kconfig allows for enabling a dependent device
driver, such as ibmvscsi, which does a select of SCSI_SRP_ATTRS. This
does not, however, enable SCSI_TGT also. This fixes this up to prevent
the following build problem:

ERROR: ".scsi_tgt_it_nexus_create" [drivers/scsi/scsi_transport_srp.ko] undefined!
ERROR: ".scsi_tgt_it_nexus_destroy" [drivers/scsi/scsi_transport_srp.ko] undefined!

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
---

 scsi-pending-2.6.git-bjking1/drivers/scsi/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/scsi/Kconfig~scsi_tgt_kconfig_fix drivers/scsi/Kconfig
--- scsi-pending-2.6.git/drivers/scsi/Kconfig~scsi_tgt_kconfig_fix	2007-07-30 10:44:34.000000000 -0500
+++ scsi-pending-2.6.git-bjking1/drivers/scsi/Kconfig	2007-07-30 10:45:00.000000000 -0500
@@ -291,7 +291,8 @@ source "drivers/scsi/libsas/Kconfig"
 
 config SCSI_SRP_ATTRS
 	tristate "SRP Transport Attributes"
-	depends on SCSI && SCSI_TGT
+	depends on SCSI
+	select SCSI_TGT
 	help
 	  If you wish to export transport-specific information about
 	  each attached SRP device to sysfs, say Y.
_

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

end of thread, other threads:[~2007-07-31 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <11858119293805-patch-mail.ibm.com>
2007-07-31 15:24 ` [PATCH 1/1] scsi: Fix SRP_ATTRS Kconfig FUJITA Tomonori
2007-07-30 16:12 Brian King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.