Searched hist:"867 b1db874c93ceb86f9e10ef021e70c38cc4b4d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | diff 867b1db874c93ceb86f9e10ef021e70c38cc4b4d Sat Feb 12 14:03:43 CST 2022 Horatiu Vultur <horatiu.vultur@microchip.com> 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 <lkp@intel.com> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|