diff options
| author | Gal Pressman <galp@mellanox.com> | 2017-06-19 18:25:59 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-20 08:11:47 +0200 |
| commit | 36f7889943fac3889cf27a7692cba3969eb1d13d (patch) | |
| tree | 7924229e7b00d4beefd49002a409f1166a1c4860 /kernel/sysctl_binary.c | |
| parent | 536918c1d68379b820ef0743cbc4fe9755772d63 (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 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
