diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-05-14 00:29:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-15 00:59:59 +0300 |
commit | fa44821a4ddda0101f64908abc56dc25b905475d (patch) | |
tree | 10a5fe323a21acf57322e4c31b3a34fb857b3070 /drivers/net/ethernet/sfc/farch_regs.h | |
parent | 30515832e987597eae354f6ffcdb3374bdfde16d (diff) | |
download | linux-fa44821a4ddda0101f64908abc56dc25b905475d.tar.xz |
sfc: don't use netif_info et al before net_device is registered
Using netif_info() before the net_device is registered results in ugly
messages like the following:
sfc 0000:01:00.1 (unnamed net_device) (uninitialized): Solarflare NIC detected
Therefore use pci_info() et al until net_device is registered.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/farch_regs.h')
0 files changed, 0 insertions, 0 deletions