The E1000 driver uses an implicit switch/case fallthrough for sharing
some code supporting different PHYs.
Add our "fallthrough;" statement-like macro before the two labels in
e1000_set_phy_type(), to avoid a warning when GCC's -Wimplicit-fallthrough
warning option is enabled.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
hw->phy_type = e1000_phy_igp;
break;
}
+ fallthrough;
case IGP03E1000_E_PHY_ID:
hw->phy_type = e1000_phy_igp_3;
break;
hw->phy_type = e1000_phy_gg82563;
break;
}
+ fallthrough;
case BME1000_E_PHY_ID:
hw->phy_type = e1000_phy_bm;
break;