Searched hist:c6576bfe2f4baa6cbbcd50a4dcd17e843e28fcd7 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/phy/ |
H A D | phy-core.c | diff c6576bfe2f4baa6cbbcd50a4dcd17e843e28fcd7 Sat Apr 13 13:53:43 CDT 2019 Heiner Kallweit <hkallweit1@gmail.com> phy: warn if phylib and ethtool PHY mode definitions are out of sync
If new PHY modes are added people may miss to update all relevant places in the kernel. Therefore add a build bug check for new modes in enum ethtool_link_mode_bit_indices that haven't been added to phylib yet.
Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|