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>
This commit is contained in:

committed by
David S. Miller

parent
a05b8c43ac
commit
f3ae608edb
@@ -244,6 +244,7 @@ static struct htb_class *htb_classify(struct sk_buff *skb, struct Qdisc *sch,
|
||||
case TC_ACT_STOLEN:
|
||||
case TC_ACT_TRAP:
|
||||
*qerr = NET_XMIT_SUCCESS | __NET_XMIT_STOLEN;
|
||||
/* fall through */
|
||||
case TC_ACT_SHOT:
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user