Messages in this thread | | | Date | Sat, 7 Nov 2020 12:45:47 -0800 | From | Jakub Kicinski <> | Subject | Re: [PATCH net] net: marvell: prestera: fix compilation with CONFIG_BRIDGE=m |
| |
On Fri, 6 Nov 2020 12:13:12 -0800 Randy Dunlap wrote: > On 11/6/20 8:11 AM, Vadym Kochan wrote: > > With CONFIG_BRIDGE=m the compilation fails: > > > > ld: drivers/net/ethernet/marvell/prestera/prestera_switchdev.o: in function `prestera_bridge_port_event': > > prestera_switchdev.c:(.text+0x2ebd): undefined reference to `br_vlan_enabled' > > > > in case the driver is statically enabled. > > > > Fix it by adding 'BRIDGE || BRIDGE=n' dependency. > > > > Fixes: e1189d9a5fbe ("net: marvell: prestera: Add Switchdev driver implementation") > > Reported-by: Randy Dunlap <rdunlap@infradead.org> > > Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu> > > Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Applied, thanks!
| |