From: Anish Bhatt Date: Wed, 13 Aug 2014 05:38:26 +0000 (-0700) Subject: libcxgbi/cxgb4i : Fix ipv6 build failure caught with randconfig X-Git-Tag: omap-for-v3.17/fixes-against-rc2~59^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d21797df9ce6537a46ff58e20f359ef05c8faf2;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed