linux-stable/drivers/scsi/hisi_sas
John Garry c763ec4c10 scsi: hisi_sas: Fix setting of hisi_sas_slot.is_internal
The hisi_sas_slot.is_internal member is not set properly for ATA commands
which the driver sends directly. A TMF struct pointer is normally used as a
test to set this, but it is NULL for those commands. It's not ideal, but
pass an empty TMF struct to set that member properly.

Link: https://lore.kernel.org/r/1643627607-138785-1-git-send-email-john.garry@huawei.com
Fixes: dc313f6b12 ("scsi: hisi_sas: Factor out task prep and delivery code")
Reported-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>
2022-01-31 16:50:59 -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
hisi_sas_main.c scsi: hisi_sas: Fix setting of hisi_sas_slot.is_internal 2022-01-31 16:50:59 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: Switch to attribute groups 2021-10-16 21:45:55 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Switch to attribute groups 2021-10-16 21:45:55 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Remove useless DMA-32 fallback configuration 2022-01-24 23:30:29 -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