commit | fa44821a4ddda0101f64908abc56dc25b905475d | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Thu May 13 23:29:12 2021 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 14 14:59:59 2021 -0700 |
tree | 10a5fe323a21acf57322e4c31b3a34fb857b3070 | |
parent | 30515832e987597eae354f6ffcdb3374bdfde16d [diff] |
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>