qed: Handle management FW error
authorShai Malin <smalin@marvell.com>
Fri, 10 Sep 2021 08:33:56 +0000 (11:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2021 09:17:11 +0000 (10:17 +0100)
commit20e100f52730cd0db609e559799c1712b5f27582
treeaf713f78d5f0abd9170e3ba5afdbcd349a0b39ed
parentdc41c4a98a76640e7085815f937eadd1f336ba85
qed: Handle management FW error

Handle MFW (management FW) error response in order to avoid a crash
during recovery flows.

Changes from v1:
- Add "Fixes tag".

Fixes: tag 5e7ba042fd05 ("qed: Fix reading stale configuration information")
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_mcp.c