diff options
| author | James Smart <jsmart2021@gmail.com> | 2021-07-07 11:43:37 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-07-18 22:30:35 -0400 |
| commit | 21990d3d1861c7aa8e3e4ed98614f0c161c29b0c (patch) | |
| tree | 269f0bca7264bfb41dc1e47eda2b559192a979de /tools/perf/scripts/python/libxed.py | |
| parent | e77803bdbf0aad98d36b1d3fa082852831814edd (diff) | |
| download | linux-21990d3d1861c7aa8e3e4ed98614f0c161c29b0c.tar.gz linux-21990d3d1861c7aa8e3e4ed98614f0c161c29b0c.zip | |
scsi: lpfc: Fix target reset handler from falsely returning FAILURE
Previous logic accidentally overrides the status variable to FAILURE when
target reset status is SUCCESS.
Refactor the non-SUCCESS logic of lpfc_vmid_vport_cleanup(), which resolves
the false override.
Link: https://lore.kernel.org/r/20210707184351.67872-7-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
