Commit 180ad455 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

netlink: specs: ethtool: add empty enum stringset

C does not allow defining structures and enums with the same name.
Since enum ethtool_stringset exists in the uAPI we need to include
at least a stub of it in the spec. This will trigger name collision
avoidance in the code gen.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2c9d47a0
...@@ -12,6 +12,10 @@ definitions: ...@@ -12,6 +12,10 @@ definitions:
enum-name: enum-name:
type: enum type: enum
entries: [ vxlan, geneve, vxlan-gpe ] entries: [ vxlan, geneve, vxlan-gpe ]
-
name: stringset
type: enum
entries: []
attribute-sets: attribute-sets:
- -
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment