diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-06-30 10:03:53 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-01 23:09:11 +0200 |
commit | 88e96174206e09e8eef7636067f4e24a9e67139a (patch) | |
tree | 3aa78f93beba9507aa6568a3c1f3f18ee3919584 /drivers/scsi/qla2xxx | |
parent | scsi: lpfc: spin_lock_irq() is not nestable (diff) | |
download | linux-88e96174206e09e8eef7636067f4e24a9e67139a.tar.xz linux-88e96174206e09e8eef7636067f4e24a9e67139a.zip |
scsi: lpfc: don't double count abort errors
If lpfc_nvmet_unsol_fcp_issue_abort() fails then we accidentally
increment "tgtp->xmt_abort_rsp_error" and then two lines later we
increment it a second time.
Fixes: 547077a44b3b ("scsi: lpfc: Adding additional stats counters for nvme.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
0 files changed, 0 insertions, 0 deletions