]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Improve subordinate PHY error message
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 30 Jun 2020 04:43:13 +0000 (21:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 19:44:20 +0000 (12:44 -0700)
commit1a03e9cdf793f6a9b4ead2b177e97fe40ac5d217
treea9525e9fe1c31dbc8bce3f1a2816807b94fef850
parent1ff30109a8aa204091b2bce795bbf7cabd8f9c1e
net: dsa: Improve subordinate PHY error message

It is not very informative to know the DSA master device when a
subordinate network device fails to get its PHY setup. Provide the
device name and capitalize PHY while we are it.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c