summaryrefslogtreecommitdiff
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-11-09 07:25:08 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-11 13:10:06 +0300
commita3e2ecbae0198e4cb9a63db5ac3131cbd58ec2b2 (patch)
treec62b3d1bc5923f9484d30033dd7a9c0e99e411e8 /drivers/net/wan
parent0aa3b413f68dfe4c883c8164d152a1a03ce789bf (diff)
downloadlinux-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>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r--drivers/net/wan/x25_asy.c1
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;