]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ynl: support enum-cnt-name attribute in legacy definitions
authorStanislav Fomichev <sdf@fomichev.me>
Wed, 4 Dec 2024 15:55:42 +0000 (07:55 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Dec 2024 20:03:03 +0000 (12:03 -0800)
commit523d3cc4b6d1ae18bfa516345d48332d455181e6
tree8553c15aa6d71a6edebd4448a504d1c0752d8c3e
parent302cc446cbd92aadff72a647cebc13d5634f8342
ynl: support enum-cnt-name attribute in legacy definitions

This is similar to existing attr-cnt-name in the attributes
to allow changing the name of the 'count' enum entry.

Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20241204155549.641348-2-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink-c.yaml
Documentation/netlink/genetlink-legacy.yaml
Documentation/userspace-api/netlink/c-code-gen.rst
tools/net/ynl/ynl-gen-c.py