linux/drivers/net/ethernet/socionext
Kunihiko Hayashi fd4a8093ec 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>
2019-09-27 20:26:28 +02:00
..
Kconfig net: netsec: Use page_pool API 2019-07-01 19:27:08 -07:00
Makefile
netsec.c net: netsec: Fix signedness bug in netsec_probe() 2019-09-27 10:03:07 +02:00
sni_ave.c net: socionext: ave: Avoid using netdev_err() before calling register_netdev() 2019-09-27 20:26:28 +02:00