Skip to content
Commit 37487f93 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

tools: ynl-gen: inherit struct use info



We only render parse and netlink generation helpers as needed,
to avoid generating dead code. Propagate the information from
first- and second-layer attribute sets onto all children.
Otherwise devlink won't work, it has a lot more levels of nesting.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6afaa0ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment