diff options
author | 2023-10-06 06:50:32 -0700 | |
---|---|---|
committer | 2023-10-09 19:45:15 -0700 | |
commit | 8cea95b0bd7930367f11e2abceda6e096dd18943 (patch) | |
tree | e8abb89ef2c13197bd022c3e966e519266c8e6fd /drivers/net/macsec.c | |
parent | Merge branch 'tools-ynl-gen-lift-type-requirement-for-attribute-subsets' (diff) | |
download | wireguard-linux-8cea95b0bd7930367f11e2abceda6e096dd18943.tar.xz wireguard-linux-8cea95b0bd7930367f11e2abceda6e096dd18943.zip |
tools: ynl-gen: handle do ops with no input attrs
The code supports dumps with no input attributes currently
thru a combination of special-casing and luck.
Clean up the handling of ops with no inputs. Create empty
Structs, and skip printing of empty types.
This makes dos with no inputs work.
Tested-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Link: https://lore.kernel.org/r/20231006135032.3328523-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions