summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-10 00:43:40 +0300
committerDavid S. Miller <davem@davemloft.net>2023-06-12 13:01:03 +0300
commit2c9d47a095f7d0380e35064121bc8838dbf136cb (patch)
treed195d036d32e1f84ae1c448b938fb6117b0b3ca5 /crypto
parentdddc9f53da3e1e359e56edc8da301e145e3b97df (diff)
downloadlinux-2c9d47a095f7d0380e35064121bc8838dbf136cb.tar.xz
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 <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions