mirror of
https://github.com/torvalds/linux.git
synced 2026-11-12 20:54:48 +01:00
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:
|
||
|---|---|---|
| .. | ||
| governors | ||
| coupled.c | ||
| cpuidle-arm.c | ||
| cpuidle-at91.c | ||
| cpuidle-big_little.c | ||
| cpuidle-calxeda.c | ||
| cpuidle-clps711x.c | ||
| cpuidle-cps.c | ||
| cpuidle-exynos.c | ||
| cpuidle-haltpoll.c | ||
| cpuidle-kirkwood.c | ||
| cpuidle-mvebu-v7.c | ||
| cpuidle-powernv.c | ||
| cpuidle-psci-domain.c | ||
| cpuidle-psci.c | ||
| cpuidle-psci.h | ||
| cpuidle-pseries.c | ||
| cpuidle-qcom-spm.c | ||
| cpuidle-riscv-sbi.c | ||
| cpuidle-s390.c | ||
| cpuidle-tegra.c | ||
| cpuidle-ux500.c | ||
| cpuidle-zynq.c | ||
| cpuidle.c | ||
| cpuidle.h | ||
| driver.c | ||
| dt_idle_genpd.c | ||
| dt_idle_genpd.h | ||
| dt_idle_states.c | ||
| dt_idle_states.h | ||
| governor.c | ||
| Kconfig | ||
| Kconfig.arm | ||
| Kconfig.mips | ||
| Kconfig.powerpc | ||
| Kconfig.riscv | ||
| Kconfig.s390 | ||
| Makefile | ||
| poll_state.c | ||
| sysfs.c | ||