diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-03 23:17:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-04 15:17:32 +0200 |
commit | d287c5024361554d746e918b20d69a37f1b6bd79 (patch) | |
tree | 44b0371660dc708cc748aeb949ece05d53d1d26d /drivers/isdn/hisax/isar.c | |
parent | net: usb: asix: allow optionally getting mac address from device tree (diff) | |
download | linux-d287c5024361554d746e918b20d69a37f1b6bd79.tar.xz linux-d287c5024361554d746e918b20d69a37f1b6bd79.zip |
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>
Diffstat (limited to 'drivers/isdn/hisax/isar.c')
-rw-r--r-- | drivers/isdn/hisax/isar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/isar.c b/drivers/isdn/hisax/isar.c index d01ff116797b..82c1879f5664 100644 --- a/drivers/isdn/hisax/isar.c +++ b/drivers/isdn/hisax/isar.c @@ -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; |