aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_ethtool.c
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@intel.com>2020-03-24 17:38:15 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-05-18 15:06:28 -0700
commit25f06eff7582ae41c7fdaa30a4a2348122f7a907 (patch)
treee117b7b69f39ca070a1e2e3c1d23e5884a91783f /drivers/net/ethernet/intel/igc/igc_ethtool.c
parent8e8204a4f3e32ffb1804196f2aa252684ee663e8 (diff)
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/igc_ethtool.c')
0 files changed, 0 insertions, 0 deletions