diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-12-14 00:14:25 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-15 02:51:20 +0100 |
commit | 4dc27587dcbaf9f6229222ba015344c0edce24c9 (patch) | |
tree | 6a3485d55ec50e85a2c2249b1334a18e464eab88 /tools/net | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | linux-4dc27587dcbaf9f6229222ba015344c0edce24c9.tar.xz linux-4dc27587dcbaf9f6229222ba015344c0edce24c9.zip |
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')
-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() |