linux/drivers/scsi/hisi_sas
John Garry 26fc0ea74f scsi: libsas: Drop SAS_TASK_AT_INITIATOR
This flag is now only ever set, so delete it.

This also avoids a use-after-free in the pm8001 queue path, as reported in
the following:

https://lore.kernel.org/linux-scsi/c3cb7228-254e-9584-182b-007ac5e6fe0a@huawei.com/T/#m28c94c6d3ff582ec4a9fa54819180740e8bd4cfb

https://lore.kernel.org/linux-scsi/0cc0c435-b4f2-9c76-258d-865ba50a29dd@huawei.com/

[mkp: checkpatch + two SAS_TASK_AT_INITIATOR references]

Link: https://lore.kernel.org/r/1644489804-85730-3-git-send-email-john.garry@huawei.com
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-02-11 17:02:50 -05:00
..
hisi_sas_main.c scsi: libsas: Drop SAS_TASK_AT_INITIATOR 2022-02-11 17:02:50 -05:00
hisi_sas_v1_hw.c scsi: libsas: Drop SAS_TASK_AT_INITIATOR 2022-02-11 17:02:50 -05:00
hisi_sas_v2_hw.c scsi: libsas: Drop SAS_TASK_AT_INITIATOR 2022-02-11 17:02:50 -05:00
hisi_sas_v3_hw.c scsi: libsas: Drop SAS_TASK_AT_INITIATOR 2022-02-11 17:02:50 -05:00
hisi_sas.h scsi: hisi_sas: Keep controller active between ISR of phyup and the event being processed 2021-12-22 23:38:31 -05:00
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00