mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
LoongArch: Fix device node refcount leak in fdt_cpu_clk_init()
[ Upstream commit2e3bc71e4f] Add missing of_node_put() to properly handle the reference count of the device node obtained from of_get_cpu_node(). Fixes:44a01f1f72("LoongArch: Parsing CPU-related information from DTS") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
396cdb580e
commit
035a4a852e
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue