kernel-fxtec-pro1x/drivers/scsi/hisi_sas
Xiang Chen 0d762b3af2 scsi: hisi_sas: fix a bug in hisi_sas_dev_gone()
When device gone, NULL pointer can be accessed in free_device callback
if during SAS controller reset as we clear structure sas_dev prior.

Actually we can only set dev_type as SAS_PHY_UNUSED and not clear
structure sas_dev as all the members of structure sas_dev will be
re-initialized after device found.

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-01-22 20:03:59 -05:00
..
hisi_sas.h scsi: hisi_sas: directly attached disk LED feature for v2 hw 2018-01-22 20:03:59 -05:00
hisi_sas_main.c scsi: hisi_sas: fix a bug in hisi_sas_dev_gone() 2018-01-22 20:03:59 -05:00
hisi_sas_v1_hw.c
hisi_sas_v2_hw.c scsi: hisi_sas: directly attached disk LED feature for v2 hw 2018-01-22 20:03:59 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: Change frame type for SET MAX commands 2018-01-10 23:25:08 -05:00
Kconfig
Makefile