mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
cpufreq: scmi: Fix device_node reference leak in scmi_cpu_domain_id()
[ Upstream commit0b7fbf9333] When calling of_parse_phandle_with_args(), the caller is responsible to call of_node_put() to release the reference of device node. In scmi_cpu_domain_id(), it does not release the reference. Fixes:e336baa419("cpufreq: scmi: Prepare to move OF parsing of domain-id to cpufreq") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
b114bc9f07
commit
10bb2f5d36
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue