net: Fix netdev_WARN_ONCE macro
authorGal Pressman <galp@mellanox.com>
Sun, 7 Jan 2018 10:08:35 +0000 (12:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 01:53:14 +0000 (20:53 -0500)
commit72dd831e24cc9487a9cd534fdd675fe97e3c1839
tree8d888cb6b1067b1dcddd8298f892071cd5f71940
parent9f0e896f35020d1e0e513b365a62fb5e06066764
net: Fix netdev_WARN_ONCE macro

netdev_WARN_ONCE is broken (whoops..), this fix will remove the
unnecessary "condition" parameter, add the missing comma and change
"arg" to "args".

Fixes: 375ef2b1f0d0 ("net: Introduce netdev_*_once functions")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h