OSDN Git Service

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)
commit65951a9eb65e79b5a056fa6912682d91136507a1
treea9525e9fe1c31dbc8bce3f1a2816807b94fef850
parent9d9f95a94097a21ee7a910db35c9b15ac1426724
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