Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1654017
| From | Jakub Kicinski <kubakici@wp.pl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] nfp: add MAY_USE_DEVLINK dependency |
| Date | 2017-05-31 11:00 +0200 |
| Message-ID | <tN7DX-2u7-1@gated-at.bofh.it> (permalink) |
| References | <tN7aX-2iQ-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 :)
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] nfp: add MAY_USE_DEVLINK dependency Arnd Bergmann <arnd@arndb.de> - 2017-05-31 10:30 +0200 Re: [PATCH net-next] nfp: add MAY_USE_DEVLINK dependency Jakub Kicinski <kubakici@wp.pl> - 2017-05-31 11:00 +0200
csiph-web