From: Randy Dunlap Date: Tue, 16 Sep 2014 00:20:42 +0000 (-0700) Subject: scsi: fix build errors, SCSI_FC_ATTRS needs to depend on SCSI && NET X-Git-Tag: MMI-PSA29.97-13-9~11500^2~24 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=95cd6f488d164de462a8279e802a0ad05c33d167;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git scsi: fix build errors, SCSI_FC_ATTRS needs to depend on SCSI && NET Fix build errors when CONFIG_SCSI_NETLINK is enabled but CONFIG_NET is not enabled: drivers/built-in.o: In function `scsi_nl_rcv_msg': scsi_netlink.c:(.text+0x1850fa): undefined reference to `netlink_ack' scsi_netlink.c:(.text+0x185105): undefined reference to `skb_pull' scsi_netlink.c:(.text+0x18515d): undefined reference to `netlink_capable' drivers/built-in.o: In function `scsi_netlink_init': (.text+0x185244): undefined reference to `init_net' drivers/built-in.o: In function `scsi_netlink_init': (.text+0x185258): undefined reference to `__netlink_kernel_create' drivers/built-in.o: In function `scsi_netlink_exit': (.text+0x185291): undefined reference to `netlink_kernel_release' Signed-off-by: Randy Dunlap Tested-by: Anish Bhatt Signed-off-by: David S. Miller --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 756cddaf6c6d..1d7e51394bfa 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -257,7 +257,7 @@ config SCSI_SPI_ATTRS config SCSI_FC_ATTRS tristate "FiberChannel Transport Attributes" - depends on SCSI + depends on SCSI && NET select SCSI_NETLINK help If you wish to export transport-specific information about