aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorDonald Hunter <[email protected]>2024-03-06 23:10:43 +0000
committerJakub Kicinski <[email protected]>2024-03-08 04:28:29 +0000
commit6fe7de5e9c08dd6838149a50e468bc8f94e4fdbe (patch)
tree085897cfcfce1561f223ca4259be5d32bd3b5e46 /tools/net/ynl/lib/ynl.py
parenttools/net/ynl: Report netlink errors without stacktrace (diff)
downloadkernel-6fe7de5e9c08dd6838149a50e468bc8f94e4fdbe.tar.gz
kernel-6fe7de5e9c08dd6838149a50e468bc8f94e4fdbe.zip
tools/net/ynl: Fix c codegen for array-nest
ynl-gen-c generates e.g. 'calloc(mcast_groups, sizeof(*dst->mcast_groups))' for array-nest attrs when it should be 'n_mcast_groups'. Add a 'n_' prefix in the generated code for array-nests. Signed-off-by: Donald Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions