linux/drivers/pmdomain
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
..
actions Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
amlogic pmdomain: amlogic: Add support for A9 power domains controller 2026-08-04 15:53:20 +02:00
apple pmdomain: apple: Add "apple,t8103-pmgr-pwrstate" 2025-09-18 21:30:56 +02:00
arm pmdomain: Merge branch fixes into next 2026-08-10 16:11:56 +02:00
bcm pmdomain: bcm: bcm2835-power: Raise ASB poll timeout to 100us 2026-07-13 12:53:34 +02:00
imx Driver core changes for 7.3-rc1 2026-08-19 10:42:18 -07:00
marvell Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
mediatek pmdomain: airoha: fix unselectable AIROHA_CPU_PM_DOMAIN kconfig 2026-09-01 16:59:51 +02:00
qcom Revert "pmdomain: qcom: rpmhpd: Add missing MXC and MMCX power domains for Eliza" 2026-08-31 11:48:19 +02:00
renesas pmdomain: renesas: Add R-Car X5H MDLC driver 2026-08-12 11:05:43 +02:00
rockchip pmdomain: rockchip: Add a regulator to the RK3568 NPU power domain 2026-07-24 16:31:02 +02:00
samsung pmdomain: samsung: Rework legacy splash-screen handover workaround 2025-11-04 17:16:05 +01:00
st Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
starfive pmdomain: starfive: Update prefixes for AON power domain 2023-10-04 23:41:57 +02:00
sunxi pmdomain: sunxi: support power domain flags for pck600 2026-06-03 11:30:38 +02:00
tegra pmdomain: tegra: Add support for multi-socket platforms 2026-07-13 13:00:11 +02:00
thead pmdomain: thead: Fix error pointer vs NULL bug in th1520_pd_reboot_init() 2025-09-26 14:50:20 +02:00
ti pmdomain: ti_sci: add wakeup constraint to parent devices of wakeup source 2026-06-03 11:47:20 +02:00
xilinx firmware/pmdomain: xilinx: Move ->sync_state() support to firmware driver 2025-07-09 13:29:25 +02:00
core.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
governor.c pmdomain core: 2025-12-04 13:50:39 -08:00
Kconfig pmdomain: marvell: Add PXA1908 power domains 2025-09-17 16:13:19 +02:00
Makefile pmdomain: marvell: Add PXA1908 power domains 2025-09-17 16:13:19 +02:00