mirror_ubuntu-kernels/drivers/net/wireless/broadcom/brcm80211/brcmfmac
Jakub Kicinski 84f23fb192 wifi: brcmfmac: work around a GCC 12 -Warray-bounds warning
GCC 12 really doesn't like partial struct allocations:

drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:2202:32: warning: array subscript ‘struct brcmf_ext_join_params_le[0]’ is partly outside array bounds of ‘void[70]’ [-Warray-bounds]
 2202 |                 ext_join_params->scan_le.passive_time =
      |                                ^~

brcmfmac is trying to save 2 bytes at the end by either allocating
or not allocating a channel member. Let's keep @join_params_size
the "right" size but kmalloc() the full structure.

Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-22 17:23:06 -07:00
..
bcdc.c wireless: brcmfmac: Use netif_rx(). 2022-03-06 11:05:31 +00:00
bcdc.h
bcmsdh.c brcmfmac: Avoid keeping power to SDIO card unless WOWL is used 2022-04-06 15:11:01 +03:00
btcoex.c
btcoex.h
bus.h brcmfmac: properly check for bus register errors 2021-05-13 18:58:42 +02:00
cfg80211.c wifi: brcmfmac: work around a GCC 12 -Warray-bounds warning 2022-05-22 17:23:06 -07:00
cfg80211.h brcmfmac: add support for CQM RSSI notifications 2021-02-09 09:57:02 +02:00
chip.c brcmfmac: Add BCM43454/6 support 2022-02-14 20:05:24 +02:00
chip.h brcmfmac: support chipsets with different core enumeration space 2021-08-21 18:49:05 +03:00
common.c brcmfmac: allow setting wlan MAC address using device tree 2022-05-11 08:27:14 +03:00
common.h brcmfmac: allow setting wlan MAC address using device tree 2022-05-11 08:27:14 +03:00
commonring.c
commonring.h
core.c brcmfmac: allow setting wlan MAC address using device tree 2022-05-11 08:27:14 +03:00
core.h wireless: brcmfmac: Use netif_rx(). 2022-03-06 11:05:31 +00:00
debug.c
debug.h brcmfmac: Silence error messages about unsupported firmware features 2021-06-23 20:44:25 +03:00
dmi.c brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet 2021-10-05 08:31:41 +03:00
feature.c brcmfmac: Add BCM43454/6 support 2022-02-14 20:05:24 +02:00
feature.h
firmware.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-17 11:44:20 -08:00
firmware.h brcmfmac: Add clm_blob firmware files to modinfo 2021-06-15 13:38:17 +03:00
flowring.c
flowring.h
fweh.c brcmfmac: fweh: Add missing description for 'gfp' 2020-11-07 18:04:07 +02:00
fweh.h net: brcmfmac: Convey allocation mode as argument 2020-09-29 14:02:55 -07:00
fwil_types.h brcmfmac: Replace zero-length arrays with flexible-array members 2022-02-21 10:59:35 +02:00
fwil.c brcmfmac: fwil: Constify iovar name arguments 2022-02-01 14:27:07 +02:00
fwil.h brcmfmac: fwil: Constify iovar name arguments 2022-02-01 14:27:07 +02:00
fwsignal.c wireless: brcmfmac: Use netif_rx(). 2022-03-06 11:05:31 +00:00
fwsignal.h wireless: brcmfmac: Use netif_rx(). 2022-03-06 11:05:31 +00:00
Kconfig
Makefile brcmfmac: add xtlv support to firmware interface layer 2021-08-21 18:49:04 +03:00
msgbuf.c wireless: brcmfmac: Use netif_rx(). 2022-03-06 11:05:31 +00:00
msgbuf.h
of.c brcmfmac: allow setting wlan MAC address using device tree 2022-05-11 08:27:14 +03:00
of.h
p2p.c brcmfmac: p2p: Fix spelling mistake "Comback" -> "Comeback" 2022-03-17 16:16:36 +02:00
p2p.h
pcie.c brcmfmac: pcie: Read the console on init and shutdown 2022-02-01 14:27:08 +02:00
pcie.h brcmfmac: properly check for bus register errors 2021-05-13 18:58:42 +02:00
pno.c
pno.h
proto.c
proto.h wireless: brcmfmac: Use netif_rx(). 2022-03-06 11:05:31 +00:00
sdio.c Networking fixes for 5.18-rc3, including fixes from wireless and 2022-04-14 11:58:19 -07:00
sdio.h net: brcmfmac: Replace in_interrupt() 2020-09-29 14:02:55 -07:00
tracepoint.c
tracepoint.h
usb.c brcmfmac: properly check for bus register errors 2021-05-13 18:58:42 +02:00
usb.h brcmfmac: A typo fix 2021-04-18 09:28:21 +03:00
vendor.c
vendor.h
xtlv.c include/linux/unaligned: replace kernel.h with the necessary inclusions 2022-01-20 08:52:53 +02:00
xtlv.h brcmfmac: Replace zero-length arrays with flexible-array members 2022-02-21 10:59:35 +02:00