diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-09 07:25:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-11 13:10:06 +0300 |
commit | a3e2ecbae0198e4cb9a63db5ac3131cbd58ec2b2 (patch) | |
tree | c62b3d1bc5923f9484d30033dd7a9c0e99e411e8 | |
parent | 0aa3b413f68dfe4c883c8164d152a1a03ce789bf (diff) | |
download | linux-a3e2ecbae0198e4cb9a63db5ac3131cbd58ec2b2.tar.xz |
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 <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wan/x25_asy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c index 40ee80c03c94..74c06a5f586f 100644 --- a/drivers/net/wan/x25_asy.c +++ b/drivers/net/wan/x25_asy.c @@ -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; |