diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-12-14 02:14:25 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-15 04:51:20 +0300 |
commit | 4dc27587dcbaf9f6229222ba015344c0edce24c9 (patch) | |
tree | 6a3485d55ec50e85a2c2249b1334a18e464eab88 /tools/net/ynl/ynl-gen-c.py | |
parent | 8f674972d698c1223b6b4f374df5dde835b88c34 (diff) | |
download | linux-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-x | tools/net/ynl/ynl-gen-c.py | 1 |
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() |