scsi: hisi_sas: Pass abort structure for internal abort
authorJohn Garry <john.garry@huawei.com>
Wed, 15 Dec 2021 14:37:36 +0000 (22:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Dec 2021 03:59:57 +0000 (22:59 -0500)
commit08c61b5d902b70180b517e9f2616ad70b7a98dcf
tree41ccdd4f54a7f918ae261b63ff93026588323008
parent934385a4fd5926650b20131bf3a435199a3d0af2
scsi: hisi_sas: Pass abort structure for internal abort

To help factor out code in future, it's useful to know if we're executing
an internal abort, so pass a pointer to the structure. The idea is that a
NULL pointer means not an internal abort.

Link: https://lore.kernel.org/r/1639579061-179473-4-git-send-email-john.garry@huawei.com
Reviewed-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>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c