Skip to content

Commit 5c91435

Browse files
Jakub Kicinskidavem330
authored andcommitted
nfp: add missing fall through statements
GCC 7 checks for fall through comments, add the two missing ones. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d897a63 commit 5c91435

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/netronome/nfp/nfp_net_common.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,8 +1687,10 @@ static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget)
16871687
continue;
16881688
default:
16891689
bpf_warn_invalid_xdp_action(act);
1690+
/* fall through */
16901691
case XDP_ABORTED:
16911692
trace_xdp_exception(dp->netdev, xdp_prog, act);
1693+
/* fall through */
16921694
case XDP_DROP:
16931695
nfp_net_rx_give_one(dp, rx_ring, rxbuf->frag,
16941696
rxbuf->dma_addr);

0 commit comments

Comments
 (0)