commit | c6576bfe2f4baa6cbbcd50a4dcd17e843e28fcd7 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sat Apr 13 20:53:43 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 14 13:37:06 2019 -0700 |
tree | ca3e7147f9ecf0ed05d5afbc3fa9597cc4766fa2 | |
parent | 5a3144e419562181bb223de68173b90a8163ebfd [diff] |
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>