summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-08-24 18:10:46 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-24 18:10:46 -0700
commit790c6056686cc4dd5b149b330bbd5ae208d4d721 (patch)
tree89dfff3e8166b5a9e63901873f21c7ba0eb7f8bd
parent22b6722bfa591ba03d6a0c5521b600d4ab2d9a27 (diff)
downloadlinux-790c6056686cc4dd5b149b330bbd5ae208d4d721.tar.bz2
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;
}