aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r--drivers/s390/cio/chsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c
index 15b0e6329cf3..514daeaba705 100644
--- a/drivers/s390/cio/chsc.c
+++ b/drivers/s390/cio/chsc.c
@@ -608,7 +608,7 @@ __chp_add_new_sch(struct subchannel_id schid)
608 struct schib schib; 608 struct schib schib;
609 int ret; 609 int ret;
610 610
611 if (stsch(schid, &schib)) 611 if (stsch_err(schid, &schib))
612 /* We're through */ 612 /* We're through */
613 return need_rescan ? -EAGAIN : -ENXIO; 613 return need_rescan ? -EAGAIN : -ENXIO;
614 614