diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-06-10 00:43:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 13:01:03 +0300 |
commit | 2c9d47a095f7d0380e35064121bc8838dbf136cb (patch) | |
tree | d195d036d32e1f84ae1c448b938fb6117b0b3ca5 /ipc/Makefile | |
parent | dddc9f53da3e1e359e56edc8da301e145e3b97df (diff) | |
download | linux-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 'ipc/Makefile')
0 files changed, 0 insertions, 0 deletions