linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Shay Drory 4f7400d5cb net/mlx5: Fix error flow in case of function_setup failure
Currently, if an error occurred during mlx5_function_setup(), we
keep dev->state as DEVICE_STATE_UP.
Fixing it by adding a goto label.

Fixes: e161105e58 ("net/mlx5: Function setup/teardown procedures")
Signed-off-by: Shay Drory <shayd@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2020-05-22 17:28:58 -07:00
..
mlx4 net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc() 2020-05-04 10:42:06 -07:00
mlx5/core net/mlx5: Fix error flow in case of function_setup failure 2020-05-22 17:28:58 -07:00
mlxfw net: mlxfw: Replace zero-length array with flexible-array member 2020-03-03 17:39:19 -08:00
mlxsw mlxsw: spectrum: Fix use-after-free of split/unsplit/type_set in case reload fails 2020-05-22 16:08:14 -07: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