[S390] cio: incorrect status check in interrogate function
Fix incorrect check for active I/O in interrogate function. Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Родитель
17e7d87d9f
Коммит
7a968f0565
|
@ -680,7 +680,7 @@ int ccw_device_tm_intrg(struct ccw_device *cdev)
|
|||
if (cdev->private->state != DEV_STATE_ONLINE)
|
||||
return -EIO;
|
||||
if (!scsw_is_tm(&sch->schib.scsw) ||
|
||||
!(scsw_actl(&sch->schib.scsw) | SCSW_ACTL_START_PEND))
|
||||
!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_START_PEND))
|
||||
return -EINVAL;
|
||||
return cio_tm_intrg(sch);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче