diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-09-13 10:12:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-17 16:01:46 +0300 |
commit | af1f1400af02e5a069d86ae7001b563c99395ea2 (patch) | |
tree | 67a2ce36ffd2171608fe86e81b00b2df131ebc2a /net/devlink/devl_internal.h | |
parent | ad99637ac92dc18b979e6fa26eb440f38c0c6b55 (diff) | |
download | linux-af1f1400af02e5a069d86ae7001b563c99395ea2.tar.xz |
devlink: move devlink_nl_put_nested_handle() into netlink.c
As the next patch is going to call this helper out of the linecard.c,
move to netlink.c.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h index 1b05c2c09e27..fbf00de1accf 100644 --- a/net/devlink/devl_internal.h +++ b/net/devlink/devl_internal.h @@ -145,6 +145,8 @@ devlink_nl_put_handle(struct sk_buff *msg, struct devlink *devlink) return 0; } +int devlink_nl_put_nested_handle(struct sk_buff *msg, struct net *net, + struct devlink *devlink); int devlink_nl_msg_reply_and_new(struct sk_buff **msg, struct genl_info *info); /* Notify */ |