net/mlx5e: Replace WARN_ONCE with netdev_WARN_ONCE
authorGal Pressman <galp@mellanox.com>
Sun, 7 Jan 2018 10:08:37 +0000 (12:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 01:53:14 +0000 (20:53 -0500)
commitcd4a87dff7057ec905871530df9c04c8e50e0e36
tree89ad478d1f7bdaf2c0b2602d6c488694b998c64d
parente1cfe3d0eb0430f4fb849ef606fb095b6e149853
net/mlx5e: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c