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 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
bcm treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
canaan
cirrus Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dove Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fsl FSL SOC Changes for 7.3 2026-08-10 10:15:56 +02:00
fujitsu soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
gemini
hisilicon soc: hisilicon: kunpeng_hccs: Remove unused input parameter 2026-03-21 03:55:35 +00:00
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 drivers/soc/litex: Use devm_register_restart_handler() 2025-01-19 14:05:35 -05:00
loongson soc: loongson: loongson2_guts: Add check for devm_kstrdup() 2025-02-20 22:29:05 +01:00
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 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pxa soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
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 soc: rockchip: grf: Add missing of_node_put() when returning 2026-02-22 23:27:20 +01:00
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 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
versatile Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
vt8500 soc: Add VIA/WonderMedia SoC identification driver 2025-05-04 19:27:01 +02:00
xilinx soc: xilinx: Remove redundant dev_err() 2026-07-23 08:48:54 +02:00
Kconfig RISC-V SoC for v6.16 2025-05-21 19:25:08 +02:00
Makefile RISC-V SoC for v6.16 2025-05-21 19:25:08 +02:00