Re: [PATCH] net: mellanox: add DEVLINK dependencies

2016-03-03 Thread David Miller
From: Arnd Bergmann Date: Wed, 2 Mar 2016 10:40:54 +0100 > The new NET_DEVLINK infrastructure can be a loadable module, but the drivers > using it might be built-in, which causes link errors like: > > drivers/net/built-in.o: In function `mlx4_load_one': > :(.text+0x2fbfda): undefined reference

Re: [PATCH] net: mellanox: add DEVLINK dependencies

2016-03-02 Thread Jiri Pirko
Wed, Mar 02, 2016 at 10:40:54AM CET, a...@arndb.de wrote: >The new NET_DEVLINK infrastructure can be a loadable module, but the drivers >using it might be built-in, which causes link errors like: > >drivers/net/built-in.o: In function `mlx4_load_one': >:(.text+0x2fbfda): undefined reference to `dev

[PATCH] net: mellanox: add DEVLINK dependencies

2016-03-02 Thread Arnd Bergmann
The new NET_DEVLINK infrastructure can be a loadable module, but the drivers using it might be built-in, which causes link errors like: drivers/net/built-in.o: In function `mlx4_load_one': :(.text+0x2fbfda): undefined reference to `devlink_port_register' :(.text+0x2fc084): undefined reference to `