* [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
* Re: [PATCH 1/1] scsi: Fix SRP_ATTRS Kconfig
[not found] <11858119293805-patch-mail.ibm.com>
@ 2007-07-31 15:24 ` FUJITA Tomonori
0 siblings, 0 replies; 2+ messages in thread
From: FUJITA Tomonori @ 2007-07-31 15:24 UTC (permalink / raw)
To: brking; +Cc: James.Bottomley, linux-scsi, fujita.tomonori
From: Brian King <brking@linux.vnet.ibm.com>
Subject: [PATCH 1/1] scsi: Fix SRP_ATTRS Kconfig
Date: Mon, 30 Jul 2007 11:12:10 -0500
>
> 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
Thanks, but I guess that I should have made the srp transport class
independent of tgt since most people want only initiator support. I'll
send a patch to do that soon.
^ 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 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).