diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-09-13 21:03:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-14 00:36:41 +0200 |
commit | f91845da9fdabd920543e0fb4feb970181e33a0f (patch) | |
tree | 21e59fc4519690446c8ddac3f39d5a271b25f6bd /net/core/pktgen.c | |
parent | tg3: Fix fall-through annotations (diff) | |
download | linux-f91845da9fdabd920543e0fb4feb970181e33a0f.tar.xz linux-f91845da9fdabd920543e0fb4feb970181e33a0f.zip |
pktgen: Fix fall-through annotation
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 7f6938405fa1..6ac919847ce6 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -3426,7 +3426,7 @@ xmit_more: net_info_ratelimited("%s xmit error: %d\n", pkt_dev->odevname, ret); pkt_dev->errors++; - /* fallthru */ + /* fall through */ case NETDEV_TX_BUSY: /* Retry it next time */ refcount_dec(&(pkt_dev->skb->users)); |