e1000: Replace WARN_ONCE with netdev_WARN_ONCE
authorGal Pressman <galp@mellanox.com>
Sun, 7 Jan 2018 10:08:38 +0000 (12:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 01:53:14 +0000 (20:53 -0500)
commite65c3e1d57900090d87505ddebffb9db19840213
tree2c7a27b383d80105a52e428cf584eddf68a3045e
parentcd4a87dff7057ec905871530df9c04c8e50e0e36
e1000: Replace WARN_ONCE with netdev_WARN_ONCE

Use the more appropriate netdev_WARN_ONCE instead of WARN_ONCE macro.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000/e1000_ethtool.c