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 047a0c54f6520943f94fe0ed4c37eb75edd7fc75..aaf7178127a2f793943ac912c819caf6fea64593 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;
 }