diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-01-31 10:06:11 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-01 10:57:01 -0800 |
commit | c3a4fd5718ea6756f2289f4d89468b54ad3d02aa (patch) | |
tree | 7acff572dcc07a713edc7b1aaa0a78ecc8781d8e /net/devlink/netlink.c | |
parent | dd25cfab16e6bff1bbd75b42b8334c4419c90a4f (diff) | |
download | linux-stable-c3a4fd5718ea6756f2289f4d89468b54ad3d02aa.tar.gz linux-stable-c3a4fd5718ea6756f2289f4d89468b54ad3d02aa.tar.bz2 linux-stable-c3a4fd5718ea6756f2289f4d89468b54ad3d02aa.zip |
devlink: rename devlink_nl_instance_iter_dump() to "dumpit"
To have the name of the function consistent with the struct cb name,
rename devlink_nl_instance_iter_dump() to
devlink_nl_instance_iter_dumpit().
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/netlink.c')
-rw-r--r-- | net/devlink/netlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/devlink/netlink.c b/net/devlink/netlink.c index 3f44633af01c..11666edf5cd2 100644 --- a/net/devlink/netlink.c +++ b/net/devlink/netlink.c @@ -196,8 +196,8 @@ static const struct devlink_gen_cmd *devl_gen_cmds[] = { [DEVLINK_CMD_SELFTESTS_GET] = &devl_gen_selftests, }; -int devlink_nl_instance_iter_dump(struct sk_buff *msg, - struct netlink_callback *cb) +int devlink_nl_instance_iter_dumpit(struct sk_buff *msg, + struct netlink_callback *cb) { const struct genl_dumpit_info *info = genl_dumpit_info(cb); struct devlink_nl_dump_state *state = devlink_dump_state(cb); |