aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEdwin Peer <edwin.peer@broadcom.com>2020-03-01 22:07:18 -0500
committerDavid S. Miller <davem@davemloft.net>2020-03-01 19:15:27 -0800
commit22630e28f9c2b55abd217869cc0696def89f2284 (patch)
treedc2f909f8ec4f0c1fe6f60b1fdc082519fc8b842 /lib
parentbnxt_en: reinitialize IRQs when MTU is modified (diff)
downloadlinux-dev-22630e28f9c2b55abd217869cc0696def89f2284.tar.xz
linux-dev-22630e28f9c2b55abd217869cc0696def89f2284.zip
bnxt_en: fix error handling when flashing from file
After bnxt_hwrm_do_send_message() was updated to return standard error codes in a recent commit, a regression in bnxt_flash_package_from_file() was introduced. The return value does not properly reflect all possible firmware errors when calling firmware to flash the package. Fix it by consolidating all errors in one local variable rc instead of having 2 variables for different errors. Fixes: d4f1420d3656 ("bnxt_en: Convert error code in firmware message response to standard code.") Signed-off-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions