diff options
author | Andre Guedes <[email protected]> | 2020-03-24 17:38:15 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2020-05-18 15:06:28 -0700 |
commit | 25f06eff7582ae41c7fdaa30a4a2348122f7a907 (patch) | |
tree | e117b7b69f39ca070a1e2e3c1d23e5884a91783f /drivers/net/ethernet/intel/igc/igc_ethtool.c | |
parent | 8e8204a4f3e32ffb1804196f2aa252684ee663e8 (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 <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ethtool.c')
0 files changed, 0 insertions, 0 deletions