diff options
| author | Jakub Kicinski <[email protected]> | 2025-05-15 23:16:46 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-16 23:32:05 +0000 |
| commit | 6366d267788fd9dba20d6dff61e3e05d48ddb0b8 (patch) | |
| tree | 7b98b7d077e1a9c2081b7dc20b4d770f5852bb0c /tools/testing/selftests/drivers/net/lib/py | |
| parent | tools: ynl-gen: submsg: plumb thru an empty type (diff) | |
| download | kernel-6366d267788fd9dba20d6dff61e3e05d48ddb0b8.tar.gz kernel-6366d267788fd9dba20d6dff61e3e05d48ddb0b8.zip | |
tools: ynl-gen: submsg: render the structs
The easiest (or perhaps only sane) way to support submessages in C
is to treat them as if they were nests. Build fake attributes to
that effect in the codegen. Render the submsg as a big nest of all
possible values.
With this in place the main missing part is to hook in the switch
which selects how to parse based on the key.
Reviewed-by: Donald Hunter <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py')
0 files changed, 0 insertions, 0 deletions
