s390/sclp_sdias: Add missing break and "fall through"
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Tue, 31 Jul 2012 09:01:30 +0000 (11:01 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 8 Aug 2012 14:32:55 +0000 (07:32 -0700)
commite206d3da58803de5cd38dc728f6da5221ec18ab0
tree6a26d92d78cd8644b94ceca1969485803a07aa4f
parentd0503513817bc6175cededcbe146e06b0ea20f68
s390/sclp_sdias: Add missing break and "fall through"

If the last block of the HSA is read, EVSTATE_ALL_STORED is returned
by SCLP. Because of a missing break in the switch statement two trace
entries are written in this case: "all stored" and "part stored".

This patch adds the missing break and also adds a "fall through"
comment to improve the readability.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Reported-by: David A Gilbert <DavidAGilbert@uk.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_sdias.c