summaryrefslogtreecommitdiff
path: root/tools/net/ynl/ynl-gen-c.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-12-14 02:14:25 +0300
committerJakub Kicinski <kuba@kernel.org>2023-12-15 04:51:20 +0300
commit4dc27587dcbaf9f6229222ba015344c0edce24c9 (patch)
tree6a3485d55ec50e85a2c2249b1334a18e464eab88 /tools/net/ynl/ynl-gen-c.py
parent8f674972d698c1223b6b4f374df5dde835b88c34 (diff)
downloadlinux-4dc27587dcbaf9f6229222ba015344c0edce24c9.tar.xz
tools: ynl-gen: add missing request free helpers for dumps
The code gen generates a prototype for dump request free in the header, but no implementation in the source. Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://lore.kernel.org/r/20231213231432.2944749-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/ynl-gen-c.py')
-rwxr-xr-xtools/net/ynl/ynl-gen-c.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/net/ynl/ynl-gen-c.py b/tools/net/ynl/ynl-gen-c.py
index 266bc1629e58..9484882dbc2e 100755
--- a/tools/net/ynl/ynl-gen-c.py
+++ b/tools/net/ynl/ynl-gen-c.py
@@ -2771,6 +2771,7 @@ def main():
ri = RenderInfo(cw, parsed, args.mode, op, "dump")
if not ri.type_consistent:
parse_rsp_msg(ri, deref=True)
+ print_req_free(ri)
print_dump_type_free(ri)
print_dump(ri)
cw.nl()