pktgen: Fix fall-through annotation
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 13 Sep 2018 19:03:20 +0000 (14:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 22:36:41 +0000 (15:36 -0700)
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>
net/core/pktgen.c

index 7f6938405fa192426bbb680f5396fe3770250ae6..6ac919847ce6b9ef698a6bd5b6d94ba5c085e19f 100644 (file)
@@ -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));