diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-09-13 22:03:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-14 01:36:41 +0300 |
commit | f91845da9fdabd920543e0fb4feb970181e33a0f (patch) | |
tree | 21e59fc4519690446c8ddac3f39d5a271b25f6bd /net | |
parent | 310fc0513ea9bac6cb772b9fb6ec936dce12913b (diff) | |
download | linux-f91845da9fdabd920543e0fb4feb970181e33a0f.tar.xz |
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')
-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)); |