summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/config.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva2018-07-03 23:17:31 +0200
committerDavid S. Miller2018-07-04 15:17:32 +0200
commitd287c5024361554d746e918b20d69a37f1b6bd79 (patch)
tree44b0371660dc708cc748aeb949ece05d53d1d26d /drivers/isdn/hisax/config.c
parentnet: usb: asix: allow optionally getting mac address from device tree (diff)
downloadkernel-qcow2-linux-d287c5024361554d746e918b20d69a37f1b6bd79.tar.gz
kernel-qcow2-linux-d287c5024361554d746e918b20d69a37f1b6bd79.tar.xz
kernel-qcow2-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/config.c')
-rw-r--r--drivers/isdn/hisax/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c
index 7108bdb8742e..fcc9c46127b4 100644
--- a/drivers/isdn/hisax/config.c
+++ b/drivers/isdn/hisax/config.c
@@ -1843,6 +1843,7 @@ static void hisax_b_l2l1(struct PStack *st, int pr, void *arg)
case PH_DEACTIVATE | REQUEST:
test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag);
skb_queue_purge(&bcs->squeue);
+ /* fall through */
default:
B_L2L1(b_if, pr, arg);
break;