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: ffd3cdccf2 ("devlink: Add support for dynamic table size")
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2017-08-24 18:10:46 -07:00
parent 22b6722bfa
commit 790c605668

View File

@ -402,8 +402,7 @@ static inline int
devlink_dpipe_table_register(struct devlink *devlink, devlink_dpipe_table_register(struct devlink *devlink,
const char *table_name, const char *table_name,
struct devlink_dpipe_table_ops *table_ops, struct devlink_dpipe_table_ops *table_ops,
void *priv, u64 size, void *priv, bool counter_control_extern)
bool counter_control_extern)
{ {
return 0; return 0;
} }