From: David S. Miller Date: Fri, 25 Aug 2017 01:10:46 +0000 (-0700) Subject: devlink: Fix devlink_dpipe_table_register() stub signature. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=790c6056686cc4dd5b149b330bbd5ae208d4d721;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git devlink: Fix devlink_dpipe_table_register() stub signature. One too many arguments compared to the non-stub version. Reported-by: kbuild test robot Fixes: ffd3cdccf214 ("devlink: Add support for dynamic table size") Signed-off-by: David S. Miller --- 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; }