libcxgbi/cxgb4i : Fix ipv6 build failure caught with randconfig
Subsystems (5)
PATCH v2 1/1 libcxgbi/cxgb4i : Fix ipv6 build failure caught with randconfig
Previous guard of IS_ENABLED(CONFIG_IPV6) is not sufficient when cxgbi drivers are built into kernel but ipv6 is not.
v2: Use Kconfig to disable compiling cxgbi built into kernel when ipv6 is compiled as a module
Fixes e81fbf6cd652 ("libcxgbi:cxgb4i Guard ipv6 code with a config check")
Fixes fc8d0590d914 ("libcxgbi: Add ipv6 api to driver")
Signed-off-by Anish Bhatt <[email protected]>
--- drivers/scsi/cxgbi/cxgb3i/Kconfig | 2 +- drivers/scsi/cxgbi/cxgb4i/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/cxgbi/cxgb3i/Kconfig +1 -1
@@ -1,6 +1,6 @@ config SCSI_CXGB3_ISCSI tristate "Chelsio T3 iSCSI support" - depends on PCI && INET + depends on PCI && INET && (IPV6 || IPV6=n) select NETDEVICES select ETHERNET select NET_VENDOR_CHELSIO
drivers/scsi/cxgbi/cxgb4i/Kconfig +1 -1
@@ -1,6 +1,6 @@ config SCSI_CXGB4_ISCSI tristate "Chelsio T4 iSCSI support" - depends on PCI && INET + depends on PCI && INET && (IPV6 || IPV6=n) select NETDEVICES select ETHERNET select NET_VENDOR_CHELSIO
Signature · 1 line
2.0.4
David Miller
maintainerFrom: Anish Bhatt <[email protected]>
Date: Tue, 12 Aug 2014 22:38:26 -0700
Quoted 9 lines
Previous guard of
IS_ENABLED(CONFIG_IPV6)is not sufficient when cxgbi drivers are built into kernel but ipv6 is not.v2: Use
Kconfigto disable compiling cxgbi built into kernel when ipv6 is compiled as a moduleFixes e81fbf6cd652 ("libcxgbi:cxgb4i Guard ipv6 code with a config check")Fixes fc8d0590d914 ("libcxgbi: Add ipv6 api to driver")Signed-off-by Anish Bhatt <[email protected]>
This looks better, applied, thanks.