e1000: Fix fall-through warnings for Clang
Subsystems (3)
PATCH RESEND 1/1 e1000: 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 just letting the code fall through to the next case.
--- drivers/net/ethernet/intel/e1000/e1000_hw.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/e1000/e1000_hw.c +1 -0
@@ -1183,6 +1183,7 @@ static s32 e1000_copper_link_igp_setup(struct e1000_hw *hw)break ;case e1000_ms_auto: phy_data &= ~CR_1000T_MS_ENABLE ; +break ;default :break ; }
Signature · 1 line
2.27.0