[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170531015721.7a6d230e@cakuba.lan>
Date: Wed, 31 May 2017 01:57:21 -0700
From: Jakub Kicinski <kubakici@...pl>
To: Arnd Bergmann <arnd@...db.de>
Cc: Simon Horman <simon.horman@...ronome.com>,
"David S. Miller" <davem@...emloft.net>, oss-drivers@...ronome.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] nfp: add MAY_USE_DEVLINK dependency
On Wed, 31 May 2017 10:16:50 +0200, Arnd Bergmann wrote:
> When devlink is configured as a loadable module, a built-in nfp driver
> causes a link error:
>
> drivers/net/built-in.o: In function `nfp_devlink_port_register':
> (.text+0xb8b05): undefined reference to `devlink_port_type_eth_set'
> drivers/net/built-in.o: In function `nfp_devlink_port_register':
> (.text+0xb8b16): undefined reference to `devlink_port_split_set'
>
> This adds a special Kconfig dependency on CONFIG_MAY_USE_DEVLINK
> to avoid that combination and force nfp to be a module when NET_DEVLINK=m.
Thanks, this should be fixed in net-next already by commit
d935bc84c940 ("nfp: add MAY_USE_DEVLINK dependency"). Same
subject/commit title as yours :)
Powered by blists - more mailing lists