summaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-07 23:23:54 +0300
committerJakub Kicinski <kuba@kernel.org>2023-06-09 00:01:10 +0300
commit9858bfc271de3cc61307a710044c304e6ec34f8a (patch)
treebbf9103915428861a5a11957418771ab4878db5b /tools/net/ynl/generated
parent8947e503737138ff92323f99637d921451fe398a (diff)
downloadlinux-9858bfc271de3cc61307a710044c304e6ec34f8a.tar.xz
tools: ynl-gen: use enum names in op strmap more carefully
In preparation for supporting families which use different msg ids to and from the kernel - make sure the ids in op strmap are correct. The map is expected to be used mostly for notifications, don't generate a separate map for the "to kernel" direction. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/generated')
-rw-r--r--tools/net/ynl/generated/fou-user.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/net/ynl/generated/fou-user.c b/tools/net/ynl/generated/fou-user.c
index c99b5d438021..a0f33bb882e4 100644
--- a/tools/net/ynl/generated/fou-user.c
+++ b/tools/net/ynl/generated/fou-user.c
@@ -16,7 +16,6 @@
/* Enums */
static const char * const fou_op_strmap[] = {
- [FOU_CMD_UNSPEC] = "unspec",
[FOU_CMD_ADD] = "add",
[FOU_CMD_DEL] = "del",
[FOU_CMD_GET] = "get",