projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s390/sclp_sdias: Add missing break and "fall through"
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
s390
/
char
/
sclp_sdias.c
diff --git
a/drivers/s390/char/sclp_sdias.c
b/drivers/s390/char/sclp_sdias.c
index 6a6f76bf6e3dad4fae79fedc125bb39b7678b79a..b1032931a1c41237766eaf6c38d7e5032e71e33d 100644
(file)
--- a/
drivers/s390/char/sclp_sdias.c
+++ b/
drivers/s390/char/sclp_sdias.c
@@
-242,11
+242,13
@@
int sclp_sdias_copy(void *dest, int start_blk, int nr_blks)
switch (sdias_evbuf.event_status) {
case EVSTATE_ALL_STORED:
TRACE("all stored\n");
switch (sdias_evbuf.event_status) {
case EVSTATE_ALL_STORED:
TRACE("all stored\n");
+ break;
case EVSTATE_PART_STORED:
TRACE("part stored: %i\n", sdias_evbuf.blk_cnt);
break;
case EVSTATE_NO_DATA:
TRACE("no data\n");
case EVSTATE_PART_STORED:
TRACE("part stored: %i\n", sdias_evbuf.blk_cnt);
break;
case EVSTATE_NO_DATA:
TRACE("no data\n");
+ /* fall through */
default:
pr_err("Error from SCLP while copying hsa. "
"Event status = %x\n",
default:
pr_err("Error from SCLP while copying hsa. "
"Event status = %x\n",