diff options
author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2022-03-05 11:54:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-05 14:16:55 +0300 |
commit | 02acd399533e44523cdadb260837f6c53d146f80 (patch) | |
tree | 1fc1248852746ea49bd875ab1ba63d76564c30d5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 54ff1e3e8fc3aad09d5dfc426bb462e261c37a1b (diff) | |
download | linux-02acd399533e44523cdadb260837f6c53d146f80.tar.xz |
bnxt_en: parse result field when NVRAM package install fails
Instead of always returning -ENOPKG, decode the firmware error
code further when the HWRM_NVM_INSTALL_UPDATE firmware call fails.
Return a more suitable error code to userspace and log an error
in dmesg.
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions