-
由 XinHong Zhu 提交于
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: Nzhuxh <zxh3737@163.com> Acked-by: NLindar Liu <lindar_liu@usish.com> Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
aed97b8b