[PATCH AUTOSEL 4.9 45/98] net/mlx5: Fix driver load error flow when firmware is stuck

2018-10-25 Thread Sasha Levin
From: Gal Pressman [ 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

[PATCH AUTOSEL 4.9 45/98] net/mlx5: Fix driver load error flow when firmware is stuck

2018-10-25 Thread Sasha Levin
From: Gal Pressman [ 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