https://github.com/rntmancuso/linux-xlnx-prof
Revision fd4a8093ec0bd37d450587d50f3e10f0af57cc47 authored by Kunihiko Hayashi on 26 September 2019, 06:35:10 UTC, committed by David S. Miller on 27 September 2019, 18:26:28 UTC
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>
1 parent 2df4de1
History
Tip revision: fd4a8093ec0bd37d450587d50f3e10f0af57cc47 authored by Kunihiko Hayashi on 26 September 2019, 06:35:10 UTC
net: socionext: ave: Avoid using netdev_err() before calling register_netdev()
Tip revision: fd4a809
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.0 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.7 KB
.mailmap -rw-r--r-- 13.1 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 97.1 KB
Kbuild -rw-r--r-- 1.5 KB
Kconfig -rw-r--r-- 595 bytes
MAINTAINERS -rw-r--r-- 515.0 KB
Makefile -rw-r--r-- 59.8 KB
README -rw-r--r-- 727 bytes

README

back to top