bnxt_en: refactor error handling of HWRM_NVM_INSTALL_UPDATE
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Sat, 5 Mar 2022 08:54:34 +0000 (03:54 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Mar 2022 11:16:55 +0000 (11:16 +0000)
commit8e42aef0b7307c024bedf8716628392977f27f55
treeba50e43ead15c5a03b4278fb208048ded0e8da23
parent2057b8b70e86d31e9a83c48948e56add2cc5668c
bnxt_en: refactor error handling of HWRM_NVM_INSTALL_UPDATE

This is in anticipation of handling more "cmd_err" from FW in the next
patch.

Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c