]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
bnx2x: Replace WARN_ONCE with netdev_WARN_ONCE
authorGal Pressman <galp@mellanox.com>
Sun, 7 Jan 2018 10:08:39 +0000 (12:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 01:53:14 +0000 (20:53 -0500)
commit37ed41c42370ac6855417b9a2f92de647f4564b3
tree336e480d1ea8dd1d1eec5f904ad0461c9b202dec
parente65c3e1d57900090d87505ddebffb9db19840213
bnx2x: 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: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c