summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorXiang Chen2018-01-17 17:46:54 +0100
committerMartin K. Petersen2018-01-23 02:03:59 +0100
commit0d762b3af2a5b5095fec18aa4d61f408638aa9ca (patch)
tree2568d279b38e9ae91b8a73adc2260bd0c1621611 /mm/page-writeback.c
parentscsi: hisi_sas: directly attached disk LED feature for v2 hw (diff)
downloadkernel-qcow2-linux-0d762b3af2a5b5095fec18aa4d61f408638aa9ca.tar.gz
kernel-qcow2-linux-0d762b3af2a5b5095fec18aa4d61f408638aa9ca.tar.xz
kernel-qcow2-linux-0d762b3af2a5b5095fec18aa4d61f408638aa9ca.zip
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>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions