aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2017-07-02 18:57:28 +0300
committerDavid S. Miller <[email protected]>2017-07-03 02:32:25 -0700
commitc1c1d86bdea45880c1843087d40498127d4293c9 (patch)
tree56a9380a4706785318e12b1ea4e3150ca89e90cd /net/lapb/lapb_subr.c
parentb2c9c5df6665be7f27381ce5185b830accdb10e7 (diff)
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 <[email protected]> Reported-by: Jakub Kicinski <[email protected]> Reported-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions