diff options
| author | Jakub Kicinski <[email protected]> | 2025-05-15 23:16:44 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-16 23:32:05 +0000 |
| commit | 99b76908a7a3df629a83555333ce0b97824e4734 (patch) | |
| tree | 05c3a37e08a70c09a0f105578d09d62da0273083 /tools/testing/selftests/drivers/net/lib/py/env.py | |
| parent | tools: ynl-gen: factor out the annotation of pure nested struct (diff) | |
| download | kernel-99b76908a7a3df629a83555333ce0b97824e4734.tar.gz kernel-99b76908a7a3df629a83555333ce0b97824e4734.zip | |
tools: ynl-gen: prepare for submsg structs
Prepare for constructing Struct() instances which represent
sub-messages rather than nested attributes.
Restructure the code / indentation to more easily insert
a case where nested reference comes from annotation other
than the 'nested-attributes' property. Make sure we don't
construct the Struct() object from scratch in multiple
places as the constructor will soon have more arguments.
This should cause no functional change.
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/env.py')
0 files changed, 0 insertions, 0 deletions
