diff options
author | Alexander Duyck <alexander.h.duyck@linux.intel.com> | 2019-10-31 19:58:51 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-01-01 01:25:41 +0300 |
commit | c557a4b3f73837bf074e643e163a37f848c9781c (patch) | |
tree | b40cc3b858149f9e307cbb3b51bec36708dd171a /drivers/net/ethernet/intel/e1000e/mac.c | |
parent | 9513d2a5dc7f3f2c037bfd2ea35264cc783b954e (diff) | |
download | linux-c557a4b3f73837bf074e643e163a37f848c9781c.tar.xz |
e1000e: Use netdev_info instead of pr_info for link messages
Replace the pr_info calls with netdev_info in all cases related to the
netdevice link state.
As a result of this patch the link messages will change as shown below.
Before:
e1000e: ens3 NIC Link is Down
e1000e: ens3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
After:
e1000e 0000:00:03.0 ens3: NIC Link is Down
e1000e 0000:00:03.0 ens3: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.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/e1000e/mac.c')
0 files changed, 0 insertions, 0 deletions