aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorHoratiu Vultur <[email protected]>2022-02-12 21:03:43 +0100
committerDavid S. Miller <[email protected]>2022-02-13 15:58:06 +0000
commit867b1db874c93ceb86f9e10ef021e70c38cc4b4d (patch)
treeb73802d4148df2ee7ee354f288281f63600905ec /drivers/net/ethernet/intel/ice/ice_main.c
parent1da52b0e4724792cff7ff0a5ab4ee547bcaee11b (diff)
net: lan966x: Fix when CONFIG_IPV6 is not set
When CONFIG_IPV6 is not set, then the linking of the lan966x driver fails with the following error: drivers/net/ethernet/microchip/lan966x/lan966x_main.c:444: undefined reference to `ipv6_mc_check_mld' The fix consists in adding a check also for IS_ENABLED(CONFIG_IPV6) Fixes: 47aeea0d57e80c ("net: lan966x: Implement the callback SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED") Reported-by: kernel test robot <[email protected]> Signed-off-by: Horatiu Vultur <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions