Re: [patch net-next] ynl-gen-c.py: avoid rendering empty validate field
From: Jakub Kicinski <kuba@kernel.org> Date: 2023-08-08 23:21:34
On Tue, 8 Aug 2023 11:03:44 +0200 Jiri Pirko wrote:
From: Jiri Pirko <redacted>
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 <redacted>