linux/drivers/soc
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
..
amlogic soc: amlogic: meson-clk-measure: remove debugfs tree 2026-07-03 11:52:17 +02:00
apple soc: apple: Add driver for Apple PMGR misc controls 2026-07-14 20:28:42 +02:00
aspeed soc: drivers for 7.3 2026-08-18 19:40:29 -07:00
atmel
bcm treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
canaan
cirrus
dove
fsl FSL SOC Changes for 7.3 2026-08-10 10:15:56 +02:00
fujitsu
gemini
hisilicon
imx soc: imx9: devm_kasprintf error handling 2026-07-13 12:08:39 -04:00
ixp4xx soc: ixp4xx: Remove redundant dev_err() 2026-07-24 10:08:05 +02:00
lantiq
litex
loongson
mediatek soc: mediatek: add missing MODULE_DEVICE_TABLE() 2026-07-30 09:41:54 +02:00
microchip soc: microchip: mpfs-sys-controller: fix resource leak on probe error 2026-05-14 21:03:34 +01:00
nuvoton
pxa
qcom remoteproc updates for v7.3 2026-08-25 14:03:31 -07:00
renesas pmdomain providers: 2026-08-19 09:28:46 -07:00
rockchip
samsung soc: samsung: exynos-pmu: fix of_node refcount leak in exynos_get_pmu_regmap() 2026-06-29 11:58:33 +02:00
sophgo Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
sunxi soc: sunxi: sram: Add H616 SRAM regions 2026-04-27 23:25:35 +08:00
tegra soc: drivers for 7.3 2026-08-18 19:40:29 -07:00
ti TI SoC driver updates for v7.3 2026-08-10 09:48:29 +02:00
ux500
versatile
vt8500
xilinx soc: xilinx: Remove redundant dev_err() 2026-07-23 08:48:54 +02:00
Kconfig
Makefile