devlink: Fix devlink_dpipe_table_register() stub signature.
authorDavid S. Miller <davem@davemloft.net>
Fri, 25 Aug 2017 01:10:46 +0000 (18:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Aug 2017 01:10:46 +0000 (18:10 -0700)
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>
include/net/devlink.h

index 047a0c5..aaf7178 100644 (file)
@@ -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;
 }