summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-08-25 03:10:46 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-25 03:10:46 +0200
commit790c6056686cc4dd5b149b330bbd5ae208d4d721 (patch)
tree89dfff3e8166b5a9e63901873f21c7ba0eb7f8bd
parentipv6: Add sysctl for per namespace flow label reflection (diff)
downloadlinux-790c6056686cc4dd5b149b330bbd5ae208d4d721.tar.xz
linux-790c6056686cc4dd5b149b330bbd5ae208d4d721.zip
devlink: Fix devlink_dpipe_table_register() stub signature.
One too many arguments compared to the non-stub version. Reported-by: kbuild test robot <fengguang.wu@intel.com> Fixes: ffd3cdccf214 ("devlink: Add support for dynamic table size") Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/devlink.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h
index 047a0c54f652..aaf7178127a2 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -402,8 +402,7 @@ static inline int
devlink_dpipe_table_register(struct devlink *devlink,
const char *table_name,
struct devlink_dpipe_table_ops *table_ops,
- void *priv, u64 size,
- bool counter_control_extern)
+ void *priv, bool counter_control_extern)
{
return 0;
}