diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-08-03 13:13:33 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-04 23:03:01 +0200 |
commit | ba0f66c95fa670d99ad40e4a6c1ede425446a291 (patch) | |
tree | 496350b3308a59ae018bb1f6ed4035437e1fc797 /net/devlink/devl_internal.h | |
parent | ynl-gen-c.py: render netlink policies static for split ops (diff) | |
download | linux-ba0f66c95fa670d99ad40e4a6c1ede425446a291.tar.xz linux-ba0f66c95fa670d99ad40e4a6c1ede425446a291.zip |
devlink: rename devlink_nl_ops to devlink_nl_small_ops
In order to avoid name collision with the generated split ops array
which is going to be introduced as a follow-up patch, rename
the existing ops array to devlink_nl_small_ops.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230803111340.1074067-6-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/devl_internal.h')
-rw-r--r-- | net/devlink/devl_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h index 62921b2eb0d3..c67f074641d4 100644 --- a/net/devlink/devl_internal.h +++ b/net/devlink/devl_internal.h @@ -119,7 +119,7 @@ struct devlink_cmd { struct netlink_callback *cb); }; -extern const struct genl_small_ops devlink_nl_ops[56]; +extern const struct genl_small_ops devlink_nl_small_ops[56]; struct devlink * devlink_get_from_attrs_lock(struct net *net, struct nlattr **attrs); |