mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 14:44:12 +00:00
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: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2c9d47a095
commit
180ad45527
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ definitions:
|
|||
enum-name:
|
||||
type: enum
|
||||
entries: [ vxlan, geneve, vxlan-gpe ]
|
||||
-
|
||||
name: stringset
|
||||
type: enum
|
||||
entries: []
|
||||
|
||||
attribute-sets:
|
||||
-
|
||||
|
|
Loading…
Reference in a new issue