diff options
author | Jiri Pirko <[email protected]> | 2023-08-08 11:03:44 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-09 13:03:32 -0700 |
commit | 2c0e9f3806c46976e9d34130dcb4550ac114293a (patch) | |
tree | f88d81b84dd179c539b7fcfb7334e53e686efc6e /tools/perf/scripts/python/mem-phys-addr.py | |
parent | d8c21ef7b2b147a7e0d0497da120a3bc73be7fbe (diff) |
tools: ynl-gen: avoid rendering empty validate field
When dont-validate flags are filtered out for do/dump op, the list may
be empty. In that case, avoid rendering the validate field.
Fixes: fa8ba3502ade ("ynl-gen-c.py: render netlink policies static for split ops")
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions