nfp: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:31:30 +0000 (12:31 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 00:06:13 +0000 (19:06 -0500)
commitebd0476256bea64fb0146f28a079c9aa9ce670c0
treef216273dcda1bc93ea6acb54d72cf448743b1c88
parentc3754da3b7391006eaafa41fb28239268655afa5
nfp: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Acked-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c