From: Gustavo A. R. Silva <gustavo@embeddedor.com>
Date: Thu, 13 Sep 2018 19:03:20 +0000 (-0500)
Subject: pktgen: Fix fall-through annotation
X-Git-Tag: v4.20-rc1~27^2~376
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f91845da9fdabd920543e0fb4feb970181e33a0f;p=linux.git

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>
---

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));