projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310fc05
)
pktgen: Fix fall-through annotation
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Thu, 13 Sep 2018 19:03:20 +0000
(14:03 -0500)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/core/pktgen.c
b/net/core/pktgen.c
index 7f6938405fa192426bbb680f5396fe3770250ae6..6ac919847ce6b9ef698a6bd5b6d94ba5c085e19f 100644
(file)
--- 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++;
- /* fall
thru
*/
+ /* fall
through
*/
case NETDEV_TX_BUSY:
/* Retry it next time */
refcount_dec(&(pkt_dev->skb->users));