diff options
author | Jakub Kicinski <[email protected]> | 2024-02-27 14:30:23 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-02-28 15:25:43 -0800 |
commit | d62c5d487cfe41b2d47e790acc72a062308fb0f0 (patch) | |
tree | bbc8c8e71ec9fe4bb1111accf8f8c5dc63cea703 /scripts/generate_rust_analyzer.py | |
parent | 7600875f295f4591eebbb3744ad5de3b4f8e4117 (diff) |
tools: ynl: make yarg the first member of struct ynl_dump_state
All YNL parsing code expects a pointer to struct ynl_parse_arg AKA yarg.
For dump was pass in struct ynl_dump_state, which works fine, because
struct ynl_dump_state and struct ynl_parse_arg have identical layout
for the members that matter.. but it's a bit hacky.
Acked-by: Nicolas Dichtel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions