OSDN Git Service

net: axienet: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 28 May 2021 19:58:31 +0000 (14:58 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sun, 30 May 2021 20:44:39 +0000 (13:44 -0700)
commit03a6ef31f2bc3e14522298a9617e240fb0f5954b
tree929b4615632653462213fe8e259af207216e1de4
parentd3f2c48de7b86c17c93d412e08e7214c6e108c8a
net: axienet: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding a fallthrough statement instead of just
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/20210528195831.GA39131@embeddedor
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c