diff options
author | Erik Ekman <erik@kryo.se> | 2021-10-20 01:40:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-21 14:39:13 +0300 |
commit | bf6abf345dfa77786aca554bc58c64bd428ecb1d (patch) | |
tree | d009e16e03b69f7468e6c9d1f22195828ab28cf0 /scripts | |
parent | c62041c5baa9ded3bc6fd38d3f724de70683b489 (diff) | |
download | linux-bf6abf345dfa77786aca554bc58c64bd428ecb1d.tar.xz |
sfc: Don't use netif_info before net_device setup
Use pci_info instead to avoid unnamed/uninitialized noise:
[197088.688729] sfc 0000:01:00.0: Solarflare NIC detected
[197088.690333] sfc 0000:01:00.0: Part Number : SFN5122F
[197088.729061] sfc 0000:01:00.0 (unnamed net_device) (uninitialized): no SR-IOV VFs probed
[197088.729071] sfc 0000:01:00.0 (unnamed net_device) (uninitialized): no PTP support
Inspired by fa44821a4ddd ("sfc: don't use netif_info et al before
net_device is registered") from Heiner Kallweit.
Signed-off-by: Erik Ekman <erik@kryo.se>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions