[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201107124547.0b22d635@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Sat, 7 Nov 2020 12:45:47 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Vadym Kochan <vadym.kochan@...ision.eu>,
Volodymyr Mytnyk <volodymyr.mytnyk@...ision.eu>,
Andrii Savka <andrii.savka@...ision.eu>,
"David S. Miller" <davem@...emloft.net>,
Oleksandr Mazur <oleksandr.mazur@...ision.eu>,
Serhiy Boiko <serhiy.boiko@...ision.eu>,
Serhiy Pshyk <serhiy.pshyk@...ision.eu>,
Taras Chornyi <taras.chornyi@...ision.eu>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Mickey Rachamim <mickeyr@...vell.com>
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@...radead.org>
> > Signed-off-by: Vadym Kochan <vadym.kochan@...ision.eu>
>
> Acked-by: Randy Dunlap <rdunlap@...radead.org> # build-tested
Applied, thanks!
Powered by blists - more mailing lists