linux-sg2042/drivers/net/ethernet/mellanox/mlxfw
Or Gerlitz c1c1d86bde 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>
2017-07-03 02:32:25 -07:00
..
Kconfig mlxfw: Make the module selectable 2017-06-22 14:30:13 +03:00
Makefile
mlxfw.h net/mlxfw: Properly handle dependancy with non-loadable mlx5 2017-07-03 02:32:25 -07:00
mlxfw_fsm.c
mlxfw_mfa2.c net/mlxfw: fix a NULL dereference 2017-06-14 15:32:18 -04:00
mlxfw_mfa2.h
mlxfw_mfa2_file.h
mlxfw_mfa2_format.h
mlxfw_mfa2_tlv.h
mlxfw_mfa2_tlv_multi.c
mlxfw_mfa2_tlv_multi.h