]> git.ipfire.org Git - thirdparty/linux.git/commit
tools: ynl: move nest packing to a helper function
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>
Mon, 15 Sep 2025 14:42:53 +0000 (14:42 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 15:16:57 +0000 (08:16 -0700)
commit328c13426240579ea224018fd543ad52ef68183e
treee2437856c8509fade8bf93afc25809afc30a6015
parenta44a93ea6f06da7bd15232805fd8f8b90fd59e37
tools: ynl: move nest packing to a helper function

This patch moves nest packing into a helper function,
that can also be used for packing indexed arrays.

No behavioural changes intended.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250915144301.725949-9-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/pyynl/lib/ynl.py