diff options
author | 2020-03-24 17:38:15 -0700 | |
---|---|---|
committer | 2020-05-18 15:06:28 -0700 | |
commit | 25f06eff7582ae41c7fdaa30a4a2348122f7a907 (patch) | |
tree | e117b7b69f39ca070a1e2e3c1d23e5884a91783f /drivers/net/ethernet/intel/igc/Makefile | |
parent | igc: Add ECN support for TSO (diff) | |
download | linux-25f06eff7582ae41c7fdaa30a4a2348122f7a907.tar.gz linux-25f06eff7582ae41c7fdaa30a4a2348122f7a907.tar.bz2 linux-25f06eff7582ae41c7fdaa30a4a2348122f7a907.zip |
igc: Use netdev log helpers in igc_main.c
In igc_main.c we print log messages using both dev_* and netdev_*
helpers, generating inconsistent output. Since this is a network device
driver, we should preferably use netdev_* helpers because they append
the interface name to the message, helping making sense out of the logs.
This patch converts all dev_* calls to netdev_*. There is only two
exceptions:
1) calls wihtin igc_probe (net_device has not been registered yet)
2) calls in igc_init_module (module initialization).
It also takes this opportunity to improve some messages.
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/Makefile')
0 files changed, 0 insertions, 0 deletions