s390/css: stop stsch loop after cc 3
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 15 Oct 2012 10:24:56 +0000 (12:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 18 Oct 2012 15:50:08 +0000 (17:50 +0200)
commitcec8546638dc634824b629e33968d6c68f8b07d6
treeeb97150bedd22afb3ee503e6b6bf159a65fc8ee8
parentaa92b33c6b93b5ef4ccbaa72afa9c387a96c2ee2
s390/css: stop stsch loop after cc 3

Receiving cc=3 from store subchannel means 2 things:
* the subchannel is not provided
* there are no further subchannels in this subchannel set

With this patch we abort the store subchannel loop after cc=3 (or an
exception) and clear the subsequent bits in the subchannel id set.

Reported-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Acked-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/css.c
drivers/s390/cio/idset.c
drivers/s390/cio/idset.h