]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools: ynl-gen: factor out the annotation of pure nested struct
authorJakub Kicinski <kuba@kernel.org>
Thu, 15 May 2025 23:16:43 +0000 (16:16 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 May 2025 23:32:05 +0000 (16:32 -0700)
commitc9c048993d4c0b8a188ae717ca4a1dadd02d29b5
treee15054a7378e5a49f5320a71e2843653664a2641
parentdc3f63bc3e33a485f8c7112f1520d597a588639c
tools: ynl-gen: factor out the annotation of pure nested struct

We're about to add some code here for sub-messages.
Factor out the nest-related logic to make the code readable.
No functional change.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250515231650.1325372-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/pyynl/ynl_gen_c.py