summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_hwi.h
diff options
context:
space:
mode:
authorXinHong Zhu <zxh3737@163.com>2014-02-14 16:01:28 +0800
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 10:19:22 -0700
commitaed97b8b8194e818a94cc5ce5662f19b8bdd8adc (patch)
tree12ca26a5fd150fadbf261ccf77b417832eae6882 /drivers/scsi/pm8001/pm8001_hwi.h
parent09f942bd83610f60f3b00b8f942a79f402307fe6 (diff)
downloadlinux-aed97b8b8194e818a94cc5ce5662f19b8bdd8adc.tar.gz
linux-aed97b8b8194e818a94cc5ce5662f19b8bdd8adc.tar.bz2
linux-aed97b8b8194e818a94cc5ce5662f19b8bdd8adc.zip
[SCSI] pm80xx: fix problem of pm8001_work_fn reseting incorrect phy device
If a phy device is removed, the device can get error of I/O and HBA maybe receieve IO_OPEN_CNX_ERROR_IT_NEXUS_LOSS of event which causes pm8001_work_fn to reset the phy device but in pm8001_task_exec we don't assign a value for the device field of the ccb and in other case a ccb used have device field set, when ccb is freed the field device of the ccb don't be set NULL.So there is possibility of getting another device reset in function mpi_ssp_completion. Signed-off-by: zhuxh <zxh3737@163.com> Acked-by: Lindar Liu <lindar_liu@usish.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_hwi.h')
0 files changed, 0 insertions, 0 deletions