Skip to content

Commit 790c605

Browse files
committed
devlink: Fix devlink_dpipe_table_register() stub signature.
One too many arguments compared to the non-stub version. Reported-by: kbuild test robot <[email protected]> Fixes: ffd3cdc ("devlink: Add support for dynamic table size") Signed-off-by: David S. Miller <[email protected]>
1 parent 22b6722 commit 790c605

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/net/devlink.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,7 @@ static inline int
402402
devlink_dpipe_table_register(struct devlink *devlink,
403403
const char *table_name,
404404
struct devlink_dpipe_table_ops *table_ops,
405-
void *priv, u64 size,
406-
bool counter_control_extern)
405+
void *priv, bool counter_control_extern)
407406
{
408407
return 0;
409408
}

0 commit comments

Comments
 (0)