diff options
author | Kalesh AP <[email protected]> | 2022-03-05 03:54:36 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-03-05 11:16:55 +0000 |
commit | 02acd399533e44523cdadb260837f6c53d146f80 (patch) | |
tree | 1fc1248852746ea49bd875ab1ba63d76564c30d5 /net/lapb/lapb_out.c | |
parent | 54ff1e3e8fc3aad09d5dfc426bb462e261c37a1b (diff) |
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 <[email protected]>
Reviewed-by: Pavan Chebbi <[email protected]>
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions