Messages in this thread Patch in this message | | | Date | Tue, 27 Nov 2007 17:22:12 +0100 | From | Martin Schwidefsky <> | Subject | [patch 2/4] cio: add missing reprobe loop end statement |
| |
From: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Add loop end statement to prevent looping over empty subchannel sets.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> ---
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.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |