summaryrefslogtreecommitdiffstats
path: root/include/net/bonding.h
diff options
context:
space:
mode:
authorOr Gerlitz2017-07-02 17:57:28 +0200
committerDavid S. Miller2017-07-03 11:32:25 +0200
commitc1c1d86bdea45880c1843087d40498127d4293c9 (patch)
tree56a9380a4706785318e12b1ea4e3150ca89e90cd /include/net/bonding.h
parentiucv: Convert sk_wmem_alloc accesses to refcount_t. (diff)
downloadkernel-qcow2-linux-c1c1d86bdea45880c1843087d40498127d4293c9.tar.gz
kernel-qcow2-linux-c1c1d86bdea45880c1843087d40498127d4293c9.tar.xz
kernel-qcow2-linux-c1c1d86bdea45880c1843087d40498127d4293c9.zip
net/mlxfw: Properly handle dependancy with non-loadable mlx5
If mlx5 is set to be built-in and mlxfw as a module, we get a link error: drivers/built-in.o: In function `mlx5_firmware_flash': (.text+0x5aed72): undefined reference to `mlxfw_firmware_flash' Since we don't want to mandate selecting mlxfw for mlx5 users, we use the IS_REACHABLE macro to make sure that a stub is exposed to the caller. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reported-by: Jakub Kicinski <kubakici@wp.pl> Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bonding.h')
0 files changed, 0 insertions, 0 deletions