From: Ido Schimmel <ido...@mellanox.com>
Date: Wed, 31 May 2017 21:33:42 +0300

> When BRIDGE is a loadable module, MLXSW_SPECTRUM mustn't be built-in:
> 
> drivers/built-in.o: In function `mlxsw_sp_bridge_device_create':
> drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c:145: undefined 
> reference to `br_vlan_enabled'
> drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c:158: undefined 
> reference to `br_multicast_enabled'
> drivers/built-in.o: In function `mlxsw_sp_dev_rif_type':
> drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:2972: undefined 
> reference to `br_vlan_enabled'
> drivers/built-in.o: In function `mlxsw_sp_inetaddr_vlan_event':
> drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3310: undefined 
> reference to `br_vlan_enabled'
> 
> Add Kconfig dependency to enforce usable configurations.
> 
> Fixes: c57529e1d5d8 ("mlxsw: spectrum: Replace vPorts with Port-VLAN")
> Signed-off-by: Ido Schimmel <ido...@mellanox.com>
> Reported-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>
> Tested-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>

Applied, thanks.

Reply via email to