octeontx2-pf: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 28 May 2021 20:22:25 +0000 (15:22 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sun, 30 May 2021 20:44:44 +0000 (13:44 -0700)
commit320daffdf249bb41531c01445054443c80440904
tree9c854dc88264c66679bf7f7248f43b06af959cc1
parent03a6ef31f2bc3e14522298a9617e240fb0f5954b
octeontx2-pf: Fix fall-through warning 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
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20210528202225.GA39855@embeddedor
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c