diff options
author | Gal Pressman <galp@mellanox.com> | 2017-06-19 18:25:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-10 07:42:49 -0800 |
commit | 3d28f9a3aeee9529d5890d4164931c4d668ea8f6 (patch) | |
tree | 10e6233f7c3b78694f6eb615ffcca218665ca6b3 /tools | |
parent | 6fdeb3e0bb1d513828aec374749958ccb5ab8922 (diff) |
net/mlx5: Fix driver load error flow when firmware is stuck
[ Upstream commit 8ce59b16b4b6eacedaec1f7b652b4781cdbfe15f ]
When wait for firmware init fails, previous code would mistakenly
return success and cause inconsistency in the driver state.
Fixes: 6c780a0267b8 ("net/mlx5: Wait for FW readiness before initializing command interface")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions