2007-11-27 16:29:55

by Martin Schwidefsky

[permalink] [raw]
Subject: [patch 2/4] cio: add missing reprobe loop end statement

From: Peter Oberparleiter <[email protected]>

Add loop end statement to prevent looping over empty subchannel sets.

Signed-off-by: Peter Oberparleiter <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
---

drivers/s390/cio/css.c | 1 +
1 file changed, 1 insertion(+)

Index: quilt-2.6/drivers/s390/cio/css.c
===================================================================
--- quilt-2.6.orig/drivers/s390/cio/css.c
+++ quilt-2.6/drivers/s390/cio/css.c
@@ -451,6 +451,7 @@ static int reprobe_subchannel(struct sub
break;
case -ENXIO:
case -ENOMEM:
+ case -EIO:
/* These should abort looping */
break;
default:

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.