diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-08-03 14:13:33 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-05 00:03:01 +0300 |
commit | ba0f66c95fa670d99ad40e4a6c1ede425446a291 (patch) | |
tree | 496350b3308a59ae018bb1f6ed4035437e1fc797 /net/devlink/leftover.c | |
parent | fa8ba3502ade9e4a8e447066b0d94261fbbe1906 (diff) | |
download | linux-ba0f66c95fa670d99ad40e4a6c1ede425446a291.tar.xz |
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/leftover.c')
-rw-r--r-- | net/devlink/leftover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/devlink/leftover.c b/net/devlink/leftover.c index 5128b9c7eea8..8f42f1f45705 100644 --- a/net/devlink/leftover.c +++ b/net/devlink/leftover.c @@ -6278,7 +6278,7 @@ static int devlink_nl_cmd_trap_policer_set_doit(struct sk_buff *skb, return devlink_trap_policer_set(devlink, policer_item, info); } -const struct genl_small_ops devlink_nl_ops[56] = { +const struct genl_small_ops devlink_nl_small_ops[56] = { { .cmd = DEVLINK_CMD_GET, .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP, |