diff options
author | 2017-10-24 23:51:32 +0800 | |
---|---|---|
committer | 2017-10-25 08:21:04 -0400 | |
commit | f692a677e2cb0ccab4ef91be97d8fb020cca246d (patch) | |
tree | 23678b72fc249b2738d7449a1c74cc18b45f426e | |
parent | scsi: hisi_sas: delete get_ncq_tag_v3_hw() (diff) | |
download | wireguard-linux-f692a677e2cb0ccab4ef91be97d8fb020cca246d.tar.xz wireguard-linux-f692a677e2cb0ccab4ef91be97d8fb020cca246d.zip |
scsi: hisi_sas: fix internal abort slot timeout bug
When an internal abort times out in hisi_sas_internal_task_abort(),
goto the exit label in and not go through the other task status
checks.
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r-- | drivers/scsi/hisi_sas/hisi_sas_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c index 9e2990268f00..0eb9174f79a8 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_main.c +++ b/drivers/scsi/hisi_sas/hisi_sas_main.c @@ -1469,6 +1469,7 @@ hisi_sas_internal_task_abort(struct hisi_hba *hisi_hba, if (slot) slot->task = NULL; dev_err(dev, "internal task abort: timeout.\n"); + goto exit; } } |