aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/lib/ynl.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-04-29 15:46:55 +0000
committerPaolo Abeni <[email protected]>2025-05-02 10:41:02 +0000
commitd12a7be02524a6f4d8d5d57920001ea63a93f28d (patch)
treef88b7dcff40451509e6efa65753f959be4d25e68 /tools/net/ynl/lib/ynl.c
parenttools: ynl-gen: factor out free_needs_iter for a struct (diff)
downloadkernel-d12a7be02524a6f4d8d5d57920001ea63a93f28d.tar.gz
kernel-d12a7be02524a6f4d8d5d57920001ea63a93f28d.zip
tools: ynl-gen: fill in missing empty attr lists
The C codegen refers to op attribute lists all over the place, without checking if they are present, even tho attribute list is technically an optional property. Add them automatically at init if missing so that we don't have to make specs longer. Reviewed-by: Donald Hunter <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.c')
0 files changed, 0 insertions, 0 deletions