Commit 8b8e6d43 authored by John Garry's avatar John Garry Committed by Greg Kroah-Hartman
Browse files

scsi: hisi_sas: Factor out task prep and delivery code

[ Upstream commit dc313f6b ]

The task prep code is the same between the normal path (in
hisi_sas_task_prep()) and the internal abort path, so factor is out into a
common function.

Link: https://lore.kernel.org/r/1639579061-179473-5-git-send-email-john.garry@huawei.com


Signed-off-by: default avatarJohn Garry <john.garry@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: 8aa580cd ("scsi: hisi_sas: Enable force phy when SATA disk directly connected")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6587850b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment