summaryrefslogtreecommitdiffstats
path: root/net/x25/x25_facilities.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-20 19:37:52 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-22 04:08:46 +0200
commit0cea8e28df721f929ee3e1fa32489c012100f5a1 (patch)
tree9653292f233b050dc51a0971d65eba147248f882 /net/x25/x25_facilities.c
parentnet: af_unix: mark expected switch fall-through (diff)
downloadlinux-0cea8e28df721f929ee3e1fa32489c012100f5a1.tar.xz
linux-0cea8e28df721f929ee3e1fa32489c012100f5a1.zip
net: x25: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/x25_facilities.c')
-rw-r--r--net/x25/x25_facilities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/x25/x25_facilities.c b/net/x25/x25_facilities.c
index 997ff7b2509b..ad1734d36ed7 100644
--- a/net/x25/x25_facilities.c
+++ b/net/x25/x25_facilities.c
@@ -103,7 +103,7 @@ int x25_parse_facilities(struct sk_buff *skb, struct x25_facilities *facilities,
*vc_fac_mask |= X25_MASK_REVERSE;
break;
}
-
+ /*fall through */
case X25_FAC_THROUGHPUT:
facilities->throughput = p[1];
*vc_fac_mask |= X25_MASK_THROUGHPUT;