linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] firmware: ibft depends on SCSI
       [not found] <20100811140009.6ff33109.sfr@canb.auug.org.au>
@ 2010-08-11 17:36 ` Randy Dunlap
  2010-08-12 14:31   ` Peter Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-08-11 17:36 UTC (permalink / raw)
  To: Stephen Rothwell, Peter Jones, Konrad Rzeszutek Wilk
  Cc: linux-next, LKML, scsi

From: Randy Dunlap <randy.dunlap@oracle.com>

Prevent build errors when SCSI is not enabled:

iscsi_ibft.c:(.init.text+0x548d): undefined reference to `iscsi_boot_create_initiator'
iscsi_ibft.c:(.init.text+0x54a9): undefined reference to `iscsi_boot_create_ethernet'
iscsi_ibft.c:(.init.text+0x54c5): undefined reference to `iscsi_boot_create_target'
iscsi_ibft.c:(.init.text+0x55ff): undefined reference to `iscsi_boot_destroy_kset'
iscsi_ibft.c:(.init.text+0x561e): undefined reference to `iscsi_boot_create_kset'
iscsi_ibft.c:(.exit.text+0xe2c): undefined reference to `iscsi_boot_destroy_kset'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc:	Peter Jones <pjones@redhat.com>
Cc:	Konrad Rzeszutek Wilk <konrad@kernel.org>
---
 drivers/firmware/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100811.orig/drivers/firmware/Kconfig
+++ linux-next-20100811/drivers/firmware/Kconfig
@@ -125,7 +125,7 @@ config ISCSI_IBFT_FIND
 config ISCSI_IBFT
 	tristate "iSCSI Boot Firmware Table Attributes module"
 	select ISCSI_BOOT_SYSFS
-	depends on ISCSI_IBFT_FIND
+	depends on ISCSI_IBFT_FIND && SCSI
 	default	n
 	help
 	  This option enables support for detection and exposing of iSCSI

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

* Re: [PATCH -next] firmware: ibft depends on SCSI
  2010-08-11 17:36 ` [PATCH -next] firmware: ibft depends on SCSI Randy Dunlap
@ 2010-08-12 14:31   ` Peter Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Jones @ 2010-08-12 14:31 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, Konrad Rzeszutek Wilk, linux-next, LKML, scsi

On 08/11/2010 01:36 PM, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Prevent build errors when SCSI is not enabled:
> 
> iscsi_ibft.c:(.init.text+0x548d): undefined reference to `iscsi_boot_create_initiator'
> iscsi_ibft.c:(.init.text+0x54a9): undefined reference to `iscsi_boot_create_ethernet'
> iscsi_ibft.c:(.init.text+0x54c5): undefined reference to `iscsi_boot_create_target'
> iscsi_ibft.c:(.init.text+0x55ff): undefined reference to `iscsi_boot_destroy_kset'
> iscsi_ibft.c:(.init.text+0x561e): undefined reference to `iscsi_boot_create_kset'
> iscsi_ibft.c:(.exit.text+0xe2c): undefined reference to `iscsi_boot_destroy_kset'
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> Cc:	Peter Jones <pjones@redhat.com>
> Cc:	Konrad Rzeszutek Wilk <konrad@kernel.org>

This looks good to me, thanks for catching it.

Signed-of-by: Peter Jones <pjones@redhat.com>

> ---
>  drivers/firmware/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-next-20100811.orig/drivers/firmware/Kconfig
> +++ linux-next-20100811/drivers/firmware/Kconfig
> @@ -125,7 +125,7 @@ config ISCSI_IBFT_FIND
>  config ISCSI_IBFT
>  	tristate "iSCSI Boot Firmware Table Attributes module"
>  	select ISCSI_BOOT_SYSFS
> -	depends on ISCSI_IBFT_FIND
> +	depends on ISCSI_IBFT_FIND && SCSI
>  	default	n
>  	help
>  	  This option enables support for detection and exposing of iSCSI
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


-- 
        Peter

RFC 882 put the dots in .com.

01234567890123456789012345678901234567890123456789012345678901234567890123456789

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

end of thread, other threads:[~2010-08-12 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100811140009.6ff33109.sfr@canb.auug.org.au>
2010-08-11 17:36 ` [PATCH -next] firmware: ibft depends on SCSI Randy Dunlap
2010-08-12 14:31   ` Peter Jones

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).