projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e7d87
)
[S390] cio: incorrect status check in interrogate function
author
Peter Oberparleiter
<
[email protected]
>
Thu, 26 Mar 2009 14:24:18 +0000
(15:24 +0100)
committer
Martin Schwidefsky
<
[email protected]
>
Thu, 26 Mar 2009 14:24:17 +0000
(15:24 +0100)
Fix incorrect check for active I/O in interrogate function.
Signed-off-by: Peter Oberparleiter <
[email protected]
>
Signed-off-by: Martin Schwidefsky <
[email protected]
>
drivers/s390/cio/device_ops.c
patch
|
blob
|
history
diff --git
a/drivers/s390/cio/device_ops.c
b/drivers/s390/cio/device_ops.c
index eabcc42d63df17ca5bfc9afd89a1b6211b92f61a..151754d54745a3565fde4dca29a00f3de6b6a208 100644
(file)
--- a/
drivers/s390/cio/device_ops.c
+++ b/
drivers/s390/cio/device_ops.c
@@
-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);
}