linux/drivers/cpuidle
Linkai Gong 2b0ac85512 cpuidle: dt_idle_genpd: kfree() the original name allocation
dt_idle_pd_alloc() kasprintf()s the full node path, then points
pd->name at kbasename() of that string. dt_idle_pd_free() kfree()s
pd->name, which is no longer the start of the allocation.

Copy the basename instead.

Fixes: 9d976d6721 ("cpuidle: Factor-out power domain related code from PSCI domain driver")
Signed-off-by: Linkai Gong <gonglinkai@kylinos.cn>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
2026-09-01 17:28:56 +02:00
..
governors cpuidle: governors: teo: Rearrange stopped tick handling 2026-03-05 15:23:16 +01:00
coupled.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cpuidle-arm.c cpuidle: Init cpuidle only for present CPUs 2025-03-12 21:31:59 +01:00
cpuidle-at91.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 2) 2022-06-10 14:51:35 +02:00
cpuidle-big_little.c cpuidle: big_little: Simplify with of_machine_device_match() 2025-11-26 19:42:40 -06:00
cpuidle-calxeda.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
cpuidle-clps711x.c cpuidle: clps711x: convert to devm_platform_ioremap_resource() 2019-12-20 10:04:27 +01:00
cpuidle-cps.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cpuidle-exynos.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cpuidle-haltpoll.c cpuidle: haltpoll: add missing MODULE_DESCRIPTION() macro 2024-06-14 18:15:38 +02:00
cpuidle-kirkwood.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
cpuidle-mvebu-v7.c cpuidle: mvebu: Fix duplicate flags assignment 2023-01-18 12:03:54 +01:00
cpuidle-powernv.c cpuidle: powerpc: avoid double clear when breaking snooze 2026-04-01 09:21:06 +05:30
cpuidle-psci-domain.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cpuidle-psci.c cpuidle: psci: Fix support for probe deferral by dropping the faux device 2026-08-31 11:57:00 +02:00
cpuidle-psci.h cpuidle: psci: Correct the domain-idlestate statistics in debugfs 2025-04-23 10:08:34 +02:00
cpuidle-pseries.c cpuidle: powerpc: avoid double clear when breaking snooze 2026-04-01 09:21:06 +05:30
cpuidle-qcom-spm.c cpuidle: qcom-spm: drop unnecessary initialisations 2025-09-10 12:49:52 +02:00
cpuidle-riscv-sbi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cpuidle-s390.c s390/idle: Introduce cpuidle for s390 2026-07-08 17:03:28 +02:00
cpuidle-tegra.c cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use() 2025-12-26 10:57:17 -06:00
cpuidle-ux500.c mfd: db8500-prcmu: Fold dbx500 header into db8500 2026-07-30 14:32:45 +01:00
cpuidle-zynq.c cpuidle: zynq: Switch Michal Simek's email to new one 2026-01-12 10:21:30 +01:00
cpuidle.c Power management updates for 7.1-rc1 2026-04-13 19:47:52 -07:00
cpuidle.h cpuidle: move to use bus_get_dev_root() 2023-03-22 20:25:23 +01:00
driver.c cpuidle: Allow exit latency to exceed target residency 2026-06-23 14:00:29 +02:00
dt_idle_genpd.c cpuidle: dt_idle_genpd: kfree() the original name allocation 2026-09-01 17:28:56 +02:00
dt_idle_genpd.h cpuidle: dt_idle_genpd: Add helper function to remove genpd topology 2023-08-08 16:06:20 +02:00
dt_idle_states.c cpuidle: dt: fix opencoded for_each_cpu() in idle_state_valid() 2025-07-10 14:53:28 +02:00
dt_idle_states.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
governor.c cpuidle: Respect the CPU system wakeup QoS limit for cpuidle 2025-11-25 19:01:29 +01:00
Kconfig s390/idle: Introduce cpuidle for s390 2026-07-08 17:03:28 +02:00
Kconfig.arm soc: qcom: Avoid SCM and SPM for cpuidle drivers 2026-07-11 10:01:51 -05:00
Kconfig.mips cpuidle: clean up dead dependencies on CPU_IDLE in Kconfig 2026-04-01 16:01:27 +02:00
Kconfig.powerpc cpuidle: clean up dead dependencies on CPU_IDLE in Kconfig 2026-04-01 16:01:27 +02:00
Kconfig.riscv cpuidle: Add RISC-V SBI CPU idle driver 2022-03-10 09:29:51 -08:00
Kconfig.s390 s390/idle: Introduce cpuidle for s390 2026-07-08 17:03:28 +02:00
Makefile s390/idle: Introduce cpuidle for s390 2026-07-08 17:03:28 +02:00
poll_state.c cpuidle: Update header inclusion 2025-11-25 19:04:29 +01:00
sysfs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00