diff options
author | 2021-07-18 15:36:29 -0400 | |
---|---|---|
committer | 2021-07-19 08:25:44 -0700 | |
commit | 3958b1da725a477b4a222183d16a14d85445d4b6 (patch) | |
tree | c74c6774e72a7f1d04f0697286542eb3a0f77b67 /tools/perf/scripts/python/stackcollapse.py | |
parent | bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task() (diff) | |
download | wireguard-linux-3958b1da725a477b4a222183d16a14d85445d4b6.tar.xz wireguard-linux-3958b1da725a477b4a222183d16a14d85445d4b6.zip |
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 <somnath.kotur@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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions