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>
This commit is contained in:
Gustavo A. R. Silva 2021-05-28 14:58:31 -05:00 committed by Jakub Kicinski
parent d3f2c48de7
commit 03a6ef31f2
1 changed files with 1 additions and 0 deletions

View File

@ -1543,6 +1543,7 @@ static void axienet_validate(struct phylink_config *config,
case PHY_INTERFACE_MODE_MII: case PHY_INTERFACE_MODE_MII:
phylink_set(mask, 100baseT_Full); phylink_set(mask, 100baseT_Full);
phylink_set(mask, 10baseT_Full); phylink_set(mask, 10baseT_Full);
fallthrough;
default: default:
break; break;
} }