linux/drivers/net/wireless
Jakub Kicinski 1318252617 wifi: carl9170: silence a GCC 12 -Warray-bounds warning
carl9170 has a big union (struct carl9170_cmd) with all the command
types in it. But it allocates buffers only large enough for a given
command. This upsets GCC 12:

drivers/net/wireless/ath/carl9170/cmd.c:125:30: warning: array subscript ‘struct carl9170_cmd[0]’ is partly outside array bounds of ‘unsigned char[8]’ [-Warray-bounds]
  125 |                 tmp->hdr.cmd = cmd;
      |                 ~~~~~~~~~~~~~^~~~~

Punt the warning to W=1 for now. Hopefully GCC will learn to
recognize which fields are in-bounds.

Acked-by: Christian Lamparter <chunkeey@gmail.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-22 17:23:15 -07:00
..
admtek
ath wifi: carl9170: silence a GCC 12 -Warray-bounds warning 2022-05-22 17:23:15 -07:00
atmel
broadcom wifi: brcmfmac: work around a GCC 12 -Warray-bounds warning 2022-05-22 17:23:06 -07:00
cisco
intel wifi: iwlwifi: use unsigned to silence a GCC 12 warning 2022-05-22 17:23:06 -07:00
intersil
marvell
mediatek mt76 patches for 5.19 2022-05-16 13:11:58 +03:00
microchip
purelifi wifi: plfxlc: remove redundant NULL-check for GCC 12 2022-05-22 17:23:05 -07:00
quantenna
ralink
realtek wifi: rtlwifi: remove always-true condition pointed out by GCC 12 2022-05-22 17:23:05 -07:00
rsi
silabs
st
ti
zydas
Kconfig
mac80211_hwsim.c
mac80211_hwsim.h
Makefile wireless: Fix Makefile to be in alphabetical order 2022-05-17 18:29:49 +03:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
virt_wifi.c
wl3501.h
wl3501_cs.c