]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "UAPI: ethtool: Use __struct_group() in struct ethtool_link_settings"
authorKees Cook <kees@kernel.org>
Fri, 15 Nov 2024 20:43:04 +0000 (12:43 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Nov 2024 02:52:11 +0000 (18:52 -0800)
commitebda123fe703f492d7d557a4da00888ddec4779e
treed8474e041fa192067ccc65af208356a5b2c1ef55
parent1cfb5e57886aa69a992ff0ebd32e4651eb0fc995
Revert "UAPI: ethtool: Use __struct_group() in struct ethtool_link_settings"

This reverts commit 43d3487035e9a86fad952de4240a518614240d43. We cannot
use tagged struct groups in UAPI because C++ will throw syntax errors
even under "extern C".

Signed-off-by: Kees Cook <kees@kernel.org>
Link: https://patch.msgid.link/20241115204308.3821419-2-kees@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/ethtool.h