From: Peter Oberparleiter Date: Tue, 4 Dec 2007 15:09:02 +0000 (+0100) Subject: [S390] cio: add missing reprobe loop end statement X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=671756162cfb0b3ccbb6a0047baa3010885561a2;p=linux-beck.git [S390] cio: add missing reprobe loop end statement Add loop end statement to prevent looping over empty subchannel sets. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index 6db31089d2d7..c3df2cd009a4 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c @@ -451,6 +451,7 @@ static int reprobe_subchannel(struct subchannel_id schid, void *data) break; case -ENXIO: case -ENOMEM: + case -EIO: /* These should abort looping */ break; default: