summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_multiq.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-19 16:28:24 -0500
committerDavid S. Miller <davem@davemloft.net>2017-10-22 02:07:08 +0100
commitf3ae608edb3be2e9a3f668d47aced3553eaf6c14 (patch)
treebf6dfa58807999b5514ecd285c54d009e4ba2a46 /net/sched/sch_multiq.c
parenta05b8c43ac3cc156600a60bf6dcd30109bd42a73 (diff)
downloadtalos-obmc-linux-f3ae608edb3be2e9a3f668d47aced3553eaf6c14.tar.gz
talos-obmc-linux-f3ae608edb3be2e9a3f668d47aced3553eaf6c14.zip
net: sched: 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/sched/sch_multiq.c')
-rw-r--r--net/sched/sch_multiq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_multiq.c b/net/sched/sch_multiq.c
index 31e0a284eeff..012216386c0b 100644
--- a/net/sched/sch_multiq.c
+++ b/net/sched/sch_multiq.c
@@ -54,6 +54,7 @@ multiq_classify(struct sk_buff *skb, struct Qdisc *sch, int *qerr)
case TC_ACT_QUEUED:
case TC_ACT_TRAP:
*qerr = NET_XMIT_SUCCESS | __NET_XMIT_STOLEN;
+ /* fall through */
case TC_ACT_SHOT:
return NULL;
}
OpenPOWER on IntegriCloud