linux_dsm_epyc7002/drivers/scsi/hisi_sas
Xiang Chen 745b684763 scsi: hisi_sas: Relocate some codes to avoid an unused check
In function hisi_sas_task_prep(), we check asd_sas_port, but in function
hisi_sas_task_exec(), we already refer to asd_sas_port by using function
dev_to_hisi_hba() implicitly. So to avoid this possible invalid
dereference, relocate the check to function hisi_sas_task_prep().

Signed-off-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>
2018-11-15 14:37:05 -05:00
..
hisi_sas_main.c scsi: hisi_sas: Relocate some codes to avoid an unused check 2018-11-15 14:37:05 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: Create separate host attributes per HBA 2018-11-15 14:37:05 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: Create separate host attributes per HBA 2018-11-15 14:37:05 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: Add support for interrupt coalescing for v3 hw 2018-11-15 14:37:05 -05:00
hisi_sas.h scsi: hisi_sas: Add support for interrupt coalescing for v3 hw 2018-11-15 14:37:05 -05:00
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile