mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
nfp: add missing fall through statements
GCC 7 checks for fall through comments, add the two missing ones. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d897a638e9
commit
5c9143598e
1 changed files with 2 additions and 0 deletions
|
@ -1687,8 +1687,10 @@ static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget)
|
|||
continue;
|
||||
default:
|
||||
bpf_warn_invalid_xdp_action(act);
|
||||
/* fall through */
|
||||
case XDP_ABORTED:
|
||||
trace_xdp_exception(dp->netdev, xdp_prog, act);
|
||||
/* fall through */
|
||||
case XDP_DROP:
|
||||
nfp_net_rx_give_one(dp, rx_ring, rxbuf->frag,
|
||||
rxbuf->dma_addr);
|
||||
|
|
Loading…
Reference in a new issue