Files
linux/drivers
Horatiu Vultur 867b1db874 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: 47aeea0d57 ("net: lan966x: Implement the callback SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-02-13 15:58:06 +00:00
..
2022-01-31 20:16:28 +01:00
2022-01-30 01:06:35 +01:00
2022-01-27 13:53:26 +00:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:37 +02:00
2022-02-08 21:04:32 -08:00
2021-12-29 10:54:50 +01:00
2022-01-22 08:33:37 +02:00