]> git.baikalelectronics.ru Git - kernel.git/commit
libcxgbi/cxgb4i : Fix ipv6 build failure caught with randconfig
authorAnish Bhatt <anish@chelsio.com>
Wed, 13 Aug 2014 05:38:26 +0000 (22:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 03:04:47 +0000 (20:04 -0700)
commit6218ec11fffc6919ce4aadcd0971b359d94911cf
treeb084eea8f12704a69191a57cc13f4be3b0dc54de
parenta4d16c71a26b2f5e1572cd2e09077825b34a94c6
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: 4f595b7dd9ac ("libcxgbi:cxgb4i Guard ipv6 code with a config check")
Fixes: c7e08737da8c ("libcxgbi: Add ipv6 api to driver")
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/cxgb3i/Kconfig
drivers/scsi/cxgbi/cxgb4i/Kconfig