aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorSomnath Kotur <[email protected]>2021-07-18 15:36:29 -0400
committerDavid S. Miller <[email protected]>2021-07-19 08:25:44 -0700
commit3958b1da725a477b4a222183d16a14d85445d4b6 (patch)
treec74c6774e72a7f1d04f0697286542eb3a0f77b67 /scripts/gdb/linux/device.py
parent6cd657cb3ee6f4de57e635b126ffbe0e51d00f1a (diff)
bnxt_en: fix error path of FW reset
When bnxt_open() fails in the firmware reset path, the driver needs to gracefully abort, but it is executing code that should be invoked only in the success path. Define a function to abort FW reset and consolidate all error paths to call this new function. Fixes: dab62e7c2de7 ("bnxt_en: Implement faster recovery for firmware fatal error.") Signed-off-by: Somnath Kotur <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions