]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Use netdev_info instead of pr_info for link messages
authorAlexander Duyck <alexander.h.duyck@linux.intel.com>
Thu, 31 Oct 2019 16:58:51 +0000 (09:58 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 31 Dec 2019 22:25:41 +0000 (14:25 -0800)
commitd9a90cf919be1d5610ae0c5792976ae6efb96151
treeb40cc3b858149f9e307cbb3b51bec36708dd171a
parent0bbf1e142c05952f88d925f43b527ce4be033d7c
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>
drivers/net/ethernet/intel/e1000e/netdev.c