Commit 5c914359 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

nfp: add missing fall through statements

GCC 7 checks for fall through comments, add the two missing ones.
Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d897a638
...@@ -1687,8 +1687,10 @@ static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget) ...@@ -1687,8 +1687,10 @@ static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget)
continue; continue;
default: default:
bpf_warn_invalid_xdp_action(act); bpf_warn_invalid_xdp_action(act);
/* fall through */
case XDP_ABORTED: case XDP_ABORTED:
trace_xdp_exception(dp->netdev, xdp_prog, act); trace_xdp_exception(dp->netdev, xdp_prog, act);
/* fall through */
case XDP_DROP: case XDP_DROP:
nfp_net_rx_give_one(dp, rx_ring, rxbuf->frag, nfp_net_rx_give_one(dp, rx_ring, rxbuf->frag,
rxbuf->dma_addr); rxbuf->dma_addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment