1
0
Fork 0
alistair23-linux/drivers/net/ethernet/mellanox
Eran Ben Elisha 30e9e0550b net/mlxfw: Verify FSM error code translation doesn't exceed array size
Array mlxfw_fsm_state_err_str contains value to string translation, when
values are provided by mlxfw_dev. If value is larger than
MLXFW_FSM_STATE_ERR_MAX, return "unknown error" as expected instead of
reading an address than exceed array size.

Fixes: 410ed13cae ("Add the mlxfw module for Mellanox firmware flash process")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2019-11-20 12:33:06 -08:00
..
mlx4 net/mlx4_en: Fix wrong limitation for number of TX rings 2019-11-18 17:18:34 -08:00
mlx5/core net/mlx5: Update the list of the PCI supported devices 2019-11-20 12:33:06 -08:00
mlxfw net/mlxfw: Verify FSM error code translation doesn't exceed array size 2019-11-20 12:33:06 -08:00
mlxsw mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel 2019-11-18 17:09:31 -08:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00