summaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax/callc.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-07-04 00:17:31 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-04 16:17:32 +0300
commitd287c5024361554d746e918b20d69a37f1b6bd79 (patch)
tree44b0371660dc708cc748aeb949ece05d53d1d26d /drivers/isdn/hisax/callc.c
parent03fc5d4ffb0da005f0dce02d7c015821681e260c (diff)
downloadlinux-d287c5024361554d746e918b20d69a37f1b6bd79.tar.xz
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/callc.c')
-rw-r--r--drivers/isdn/hisax/callc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/callc.c b/drivers/isdn/hisax/callc.c
index ddec47a911a0..5f43783039d4 100644
--- a/drivers/isdn/hisax/callc.c
+++ b/drivers/isdn/hisax/callc.c
@@ -1369,6 +1369,7 @@ leased_l1l2(struct PStack *st, int pr, void *arg)
case (PH_ACTIVATE | INDICATION):
case (PH_ACTIVATE | CONFIRM):
event = EV_LEASED;
+ /* fall through */
case (PH_DEACTIVATE | INDICATION):
case (PH_DEACTIVATE | CONFIRM):
if (test_bit(FLG_TWO_DCHAN, &chanp->cs->HW_Flags))