Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f692a677 authored by Xiang Chen's avatar Xiang Chen Committed by Martin K. Petersen
Browse files

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: default avatarXiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: default avatarJohn Garry <john.garry@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 8ae6725d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
		}
	}