summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>2019-09-26 15:35:10 +0900
committerDavid S. Miller <davem@davemloft.net>2019-09-27 20:26:28 +0200
commitfd4a8093ec0bd37d450587d50f3e10f0af57cc47 (patch)
treefa16e3eaffc4e470ce696eda6225e0e274bb64ce /drivers/net/phy
parent2df4de1681767df900e15e34195bbf7dc1b23e06 (diff)
downloadlinux-fd4a8093ec0bd37d450587d50f3e10f0af57cc47.tar.bz2
net: socionext: ave: Avoid using netdev_err() before calling register_netdev()
Until calling register_netdev(), ndev->dev_name isn't specified, and netdev_err() displays "(unnamed net_device)". ave 65000000.ethernet (unnamed net_device) (uninitialized): invalid phy-mode setting ave: probe of 65000000.ethernet failed with error -22 This replaces netdev_err() with dev_err() before calling register_netdev(). Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions