linux-stable/drivers/net/ethernet
Arnd Bergmann c40845e319 kbuild: make -Woverride-init warnings more consistent
The -Woverride-init warn about code that may be intentional or not,
but the inintentional ones tend to be real bugs, so there is a bit of
disagreement on whether this warning option should be enabled by default
and we have multiple settings in scripts/Makefile.extrawarn as well as
individual subsystems.

Older versions of clang only supported -Wno-initializer-overrides with
the same meaning as gcc's -Woverride-init, though all supported versions
now work with both. Because of this difference, an earlier cleanup of
mine accidentally turned the clang warning off for W=1 builds and only
left it on for W=2, while it's still enabled for gcc with W=1.

There is also one driver that only turns the warning off for newer
versions of gcc but not other compilers, and some but not all the
Makefiles still use a cc-disable-warning conditional that is no
longer needed with supported compilers here.

Address all of the above by removing the special cases for clang
and always turning the warning off unconditionally where it got
in the way, using the syntax that is supported by both compilers.

Fixes: 2cd3271b7a ("kbuild: avoid duplicate warning options")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2024-03-31 11:32:26 +09:00
..
3com
8390
actions
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd
apm
apple
aquantia
arc
asix
atheros
broadcom Including fixes from CAN, netfilter, wireguard and IPsec. 2024-03-21 14:50:39 -07:00
brocade
cadence
calxeda
cavium
chelsio Thermal control updates for 6.9-rc1 2024-03-13 12:03:57 -07:00
cirrus
cisco
cortina
davicom
dec
dlink
emulex
engleder
ezchip
faraday
freescale
fujitsu
fungible
google
hisilicon net: hns3: tracing: fix hclgevf trace event strings 2024-03-18 10:25:40 -04:00
huawei
i825xx
ibm
intel overflow: Change DEFINE_FLEX to take __counted_by member 2024-03-22 16:25:31 -07:00
litex
marvell octeontx2-af: Use separate handlers for interrupts 2024-03-20 10:49:07 +00:00
mediatek net: ethernet: mtk_eth_soc: fix PPE hanging issue 2024-03-15 14:03:45 +00:00
mellanox Thermal control updates for 6.9-rc1 2024-03-13 12:03:57 -07:00
micrel
microchip
microsoft
moxa
mscc
myricom
natsemi
neterion
netronome
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando
qlogic
qualcomm TTY/Serial driver update for 6.9-rc1 2024-03-21 12:44:10 -07:00
rdc
realtek
renesas kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
rocker
samsung
seeq
sfc
sgi
silan
sis
smsc
socionext
stmicro
sun - Kuan-Wei Chiu has developed the well-named series "lib min_heap: Min 2024-03-14 18:03:09 -07:00
sunplus
synopsys
tehuti
ti
toshiba
tundra
vertexcom
via
wangxun net: txgbe: fix clk_name exceed MAX_DEV_ID limits 2024-03-14 13:49:02 +01:00
wiznet
xilinx
xircom
xscale
Kconfig
Makefile
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c