r8169: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 28 May 2021 20:23:27 +0000 (15:23 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 May 2021 22:25:48 +0000 (15:25 -0700)
commitffb35c679842b471d8bc42c6986daa3b373f57b2
tree0521de77506bfdc0d47a91d71dd156ea1c0d8721
parent4751d2aa321f2828d8c5d2f7ce4ed18a01e47f46
r8169: 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>
Acked-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/20210528202327.GA39994@embeddedor
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c