diff options
| author | Linkai Gong <gonglinkai@kylinos.cn> | 2026-08-21 15:57:28 +0800 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-01 17:28:56 +0200 |
| commit | 2b0ac85512b7f67479127b2713254490662eb13d (patch) | |
| tree | 1b0ef308e998a7a7c3fafd94cfc984530031ebba /tools/lib/python/kdoc/python_version.py | |
| parent | 6d94c47a2e3a38170a0a141547e4c52fbe232cc3 (diff) | |
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: 9d976d6721df ("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>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
