lkml.org 
[lkml]   [2020]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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!

\
 
 \ /
  Last update: 2020-11-07 21:46    [W:0.043 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site