summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-01-06 18:28:18 -0800
committerJakub Kicinski <kuba@kernel.org>2025-01-07 18:07:52 -0800
commit69072db934dfc7a566d4eb1fac04146e97ab365f (patch)
tree379de79f5eff7701f964682c4e6157ba29e98c43 /scripts/lib/kdoc/kdoc_parser.py
parentd8c2e5f33acec38cf478c509c65646d029cc378e (diff)
tools: ynl: correctly handle overrides of fields in subset
We stated in documentation [1] and previous discussions [2] that the need for overriding fields in members of subsets is anticipated. Implement it. Since each attr is now a new object we need to make sure that the modifications are propagated. Specifically C codegen wants to annotate which attrs are used in requests and replies to generate the right validation artifacts. [1] https://docs.kernel.org/next/userspace-api/netlink/specs.html#subset-of [2] https://lore.kernel.org/netdev/20231004171350.1f59cd1d@kernel.org/ Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://patch.msgid.link/20250107022820.2087101-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions