net: wan: x25_asy: mark expected switch fall-through
Subsystems (2)
PATCH 1/1 net: wan: x25_asy: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Addresses-Coverity-ID: 114928
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/net/wan/x25_asy.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wan/x25_asy.c +1 -0
@@ -324,6 +324,7 @@ static netdev_tx_t x25_asy_xmit(struct sk_buff *skb,if (err !=LAPB_OK )netdev_err (dev,"lapb_disconnect_request error: %d\n" , err); +/* fall through */ default :kfree_skb (skb);return NETDEV_TX_OK ;
Signature · 1 line
2.7.4
From: "Gustavo A. R. Silva" <[email protected]>
Date: Wed, 8 Nov 2017 22:25:08 -0600
Quoted 5 lines
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Addresses-Coverity-ID: 114928
Signed-off-by Gustavo A. R. Silva <[email protected]>
Applied.