qed: Handle management FW error
authorShai Malin <smalin@marvell.com>
Fri, 10 Sep 2021 08:33:56 +0000 (11:33 +0300)
committerDom Cobley <popcornmix@gmail.com>
Thu, 14 Oct 2021 11:32:56 +0000 (12:32 +0100)
commitb61bb4cabfd800d7ce6f147014994fac43b4ed7d
tree14d6e48d8a3a1564b2063d69a179ece4e99bada4
parentd8df31d99a5f4ad5db6ea0a4590a629cd8c1f53d
qed: Handle management FW error

commit 20e100f52730cd0db609e559799c1712b5f27582 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/qlogic/qed/qed_mcp.c