diff options
author | James Smart <jsmart2021@gmail.com> | 2019-08-14 16:56:59 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-19 22:41:11 -0400 |
commit | 6db51abb8dc3919b85c5d2afd35b3871399e8a81 (patch) | |
tree | 761d4218042974a2bf209e4b09e756a08dd24bec /.clang-format | |
parent | 07b1b91412c801030752da3d32a543c5522a79d6 (diff) |
scsi: lpfc: Fix upcall to bsg done in non-success cases
The scsi transport fc bsg interface does not expect the bsg_job_done()
callback to be done if the bsg request call returns failure. Several of the
HST_VENDOR cases in the driver unconditionally call bsg_job_done()
regardless of the returning value.
Fix the code to only call bsg_job_done() if the call to lpfc_bsg_request()
will return success.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions