diff options
| author | Jakub Kicinski <[email protected]> | 2023-06-09 21:43:40 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-06-12 10:01:03 +0000 |
| commit | 2c9d47a095f7d0380e35064121bc8838dbf136cb (patch) | |
| tree | d195d036d32e1f84ae1c448b938fb6117b0b3ca5 /tools/net/ynl/generated/ethtool-user.c | |
| parent | tools: ynl-gen: don't generate enum types if unnamed (diff) | |
| download | kernel-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
