commit | ab2a605fa621ecf4ec26603a237822f7772cfa28 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sat Sep 29 23:04:10 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 01 22:55:35 2018 -0700 |
tree | 7dc31f40374d00acf6c2e232c26cbdfd14dfa9c3 | |
parent | b31cdffa2329fe330cd304ca26c250dd1520fb0a [diff] |
net: phy: Add phydev_warn() Not all new style LINK_MODE bits can be converted into old style SUPPORTED bits. We need to warn when such a conversion is attempted. Add a helper for this. Convert all pr_warn() calls to phydev_warn() where possible. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>