提交 e28101a3 编写于 作者: G Gustavo A. R. Silva 提交者: David S. Miller

net: netrom: nr_in: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: NGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3c467bf3
...@@ -125,7 +125,7 @@ static int nr_state2_machine(struct sock *sk, struct sk_buff *skb, ...@@ -125,7 +125,7 @@ static int nr_state2_machine(struct sock *sk, struct sk_buff *skb,
case NR_DISCREQ: case NR_DISCREQ:
nr_write_internal(sk, NR_DISCACK); nr_write_internal(sk, NR_DISCACK);
/* fall through */
case NR_DISCACK: case NR_DISCACK:
nr_disconnect(sk, 0); nr_disconnect(sk, 0);
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部