]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd04a1250a75f5627aa80cd91bd4f9fe6c41122c3
tree8d888cb6b1067b1dcddd8298f892071cd5f71940
parent1b17923ef5604c35ae448f750122ed439441c649
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: 3ca9b6737651 ("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