aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/ethtool-user.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-06-09 21:43:40 +0000
committerDavid S. Miller <[email protected]>2023-06-12 10:01:03 +0000
commit2c9d47a095f7d0380e35064121bc8838dbf136cb (patch)
treed195d036d32e1f84ae1c448b938fb6117b0b3ca5 /tools/net/ynl/generated/ethtool-user.c
parenttools: ynl-gen: don't generate enum types if unnamed (diff)
downloadkernel-2c9d47a095f7d0380e35064121bc8838dbf136cb.tar.gz
kernel-2c9d47a095f7d0380e35064121bc8838dbf136cb.zip
tools: ynl-gen: resolve enum vs struct name conflicts
Ethtool has an attribute set called stringset, from which we'll generate struct ethtool_stringset. Unfortunately, the old ethtool header declares enum ethtool_stringset (the same name), to which compilers object. This seems unavoidable. Check struct names against known constants and append an underscore if conflict is detected. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/ethtool-user.c')
0 files changed, 0 insertions, 0 deletions