summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware/mISDN/avmfritz.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-07-03 16:17:31 -0500
committerDavid S. Miller <davem@davemloft.net>2018-07-04 22:17:32 +0900
commitd287c5024361554d746e918b20d69a37f1b6bd79 (patch)
tree44b0371660dc708cc748aeb949ece05d53d1d26d /drivers/isdn/hardware/mISDN/avmfritz.c
parent03fc5d4ffb0da005f0dce02d7c015821681e260c (diff)
downloadblackbird-op-linux-d287c5024361554d746e918b20d69a37f1b6bd79.tar.gz
blackbird-op-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/hardware/mISDN/avmfritz.c')
-rw-r--r--drivers/isdn/hardware/mISDN/avmfritz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/hardware/mISDN/avmfritz.c b/drivers/isdn/hardware/mISDN/avmfritz.c
index ae2b2669af1b..8eb28a83832e 100644
--- a/drivers/isdn/hardware/mISDN/avmfritz.c
+++ b/drivers/isdn/hardware/mISDN/avmfritz.c
@@ -361,6 +361,7 @@ modehdlc(struct bchannel *bch, int protocol)
switch (protocol) {
case -1: /* used for init */
bch->state = -1;
+ /* fall through */
case ISDN_P_NONE:
if (bch->state == ISDN_P_NONE)
break;
OpenPOWER on IntegriCloud