summaryrefslogtreecommitdiff
path: root/net/devlink/devl_internal.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-09-13 09:12:37 +0200
committerDavid S. Miller <davem@davemloft.net>2023-09-17 14:01:46 +0100
commit1c2197c47a93d0ea36e73e437271c7cbcc0e1ceb (patch)
treea0fd58ed81891d65eef1abea1c4b9da4845c6daa /net/devlink/devl_internal.h
parentaf1f1400af02e5a069d86ae7001b563c99395ea2 (diff)
devlink: extend devlink_nl_put_nested_handle() with attrtype arg
As the next patch is going to call this helper with need to fill another type of nested attribute, pass it over function arg. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/devlink/devl_internal.h')
-rw-r--r--net/devlink/devl_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h
index fbf00de1accf..53449dbd6545 100644
--- a/net/devlink/devl_internal.h
+++ b/net/devlink/devl_internal.h
@@ -146,7 +146,7 @@ devlink_nl_put_handle(struct sk_buff *msg, struct devlink *devlink)
}
int devlink_nl_put_nested_handle(struct sk_buff *msg, struct net *net,
- struct devlink *devlink);
+ struct devlink *devlink, int attrtype);
int devlink_nl_msg_reply_and_new(struct sk_buff **msg, struct genl_info *info);
/* Notify */