linux/drivers/net/wireless
Kees Cook 3a2c4d55e3 treewide: refresh kmalloc_obj() conversions
This is another run of the Coccinelle script for converting kmalloc()
family of allocations to kmalloc_obj() via the existing rules in
scripts/coccinelle/api/kmalloc_objs.cocci

This catches both the set of kmalloc() uses added since the first
kmalloc_obj() conversions in v7.0 and adds a large group missed in the
first pass due to Coccinelle not interacting well with the cleanup.h
scoped_...() family of macros[1]. I worked around this with spatch's
"--macro-file" argument to a file with all the scoped_...() macros mapped
to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control
flow indicator I could find.

Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc,
riscv, and s390 with no new warnings.

Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1]
Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2]
Signed-off-by: Kees Cook <kees+treewide@kernel.org>
2026-09-04 21:37:00 -07:00
..
admtek wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
ath treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
atmel wifi: at76c50x-usb: avoid length underflow in at76_guess_freq() 2026-07-21 13:27:38 +02:00
broadcom wifi: brcmfmac: Fix memory leak in brcmf_sdio_read_control() 2026-08-06 14:04:09 +02:00
intel treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
intersil Mostly driver changes this time: 2026-07-27 16:03:40 -07:00
marvell Quite a bunch more work, of note: 2026-08-06 12:39:11 -07:00
mediatek treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
microchip wifi: wilc1000: validate monitor transmit frame headers 2026-08-02 18:23:27 +02:00
morsemicro treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
nxp treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
purelifi wifi: plfxlc: use module_usb_driver() macro 2026-05-20 11:58:39 +02:00
quantenna wifi: cfg80211: convert cookie output to input parameter 2026-08-02 17:40:08 +02:00
ralink wifi: ralink: RT2X00: init EEPROM properly 2026-07-06 14:11:08 +02:00
realtek rtw-next patches for v7.3 2026-08-02 18:50:03 +02:00
rsi wifi: rsi: Fix types to appease CFI 2026-08-06 14:03:47 +02:00
silabs wifi: move action code from per-type frame structs 2026-03-06 10:36:26 +01:00
st wifi: cw1200: Revert "Fix locking in error paths" 2026-05-04 09:08:24 +02:00
ti Mostly driver changes this time: 2026-07-27 16:03:40 -07:00
virtual Mostly driver changes this time: 2026-07-27 16:03:40 -07:00
zydas wifi: zd1211rw: reject secondary interfaces to prevent conflicts 2026-08-02 18:23:27 +02:00
Kconfig Merge tag 'nxpwifi-2026-07-15' of https://github.com/jeffchen71/nxpwifi 2026-07-21 23:29:58 +02:00
Makefile Merge tag 'nxpwifi-2026-07-15' of https://github.com/jeffchen71/nxpwifi 2026-07-21 23:29:58 +02:00