isdn: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 2 was used: -Wimplicit-fallthrough=2 Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Este commit está contenido en:

cometido por
David S. Miller

padre
03fc5d4ffb
commit
d287c50243
@@ -1089,6 +1089,7 @@ isar_pump_statev_fax(struct BCState *bcs, u_char devt) {
|
||||
break;
|
||||
case PCTRL_CMD_FTM:
|
||||
p1 = 2;
|
||||
/* fall through */
|
||||
case PCTRL_CMD_FTH:
|
||||
sendmsg(cs, dps | ISAR_HIS_PUMPCTRL,
|
||||
PCTRL_CMD_SILON, 1, &p1);
|
||||
@@ -1097,6 +1098,7 @@ isar_pump_statev_fax(struct BCState *bcs, u_char devt) {
|
||||
case PCTRL_CMD_FRM:
|
||||
if (frm_extra_delay)
|
||||
mdelay(frm_extra_delay);
|
||||
/* fall through */
|
||||
case PCTRL_CMD_FRH:
|
||||
p1 = bcs->hw.isar.mod = bcs->hw.isar.newmod;
|
||||
bcs->hw.isar.newmod = 0;
|
||||
|
Referencia en una nueva incidencia
Block a user