From: Jakub Kicinski Date: Fri, 9 Jun 2023 21:43:41 +0000 (-0700) Subject: netlink: specs: ethtool: add empty enum stringset X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=180ad455273a7d3ba95ec21d28c1fee6766f166d;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml index b0e4147d08907..d674731629c42 100644 --- a/Documentation/netlink/specs/ethtool.yaml +++ b/Documentation/netlink/specs/ethtool.yaml @@ -12,6 +12,10 @@ definitions: enum-name: type: enum entries: [ vxlan, geneve, vxlan-gpe ] + - + name: stringset + type: enum + entries: [] attribute-sets: -