summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/sriov.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2021-05-14 00:29:12 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-15 00:59:59 +0300
commitfa44821a4ddda0101f64908abc56dc25b905475d (patch)
tree10a5fe323a21acf57322e4c31b3a34fb857b3070 /drivers/net/ethernet/sfc/sriov.h
parent30515832e987597eae354f6ffcdb3374bdfde16d (diff)
downloadlinux-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/sriov.h')
0 files changed, 0 insertions, 0 deletions