Home
last modified time | relevance | path

Searched hist:"7 c7ff68daa93d8c4cdea482da4f2429c0398fcde" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/arm/mach-axxia/
H A Dplatsmp.cdiff 7c7ff68daa93d8c4cdea482da4f2429c0398fcde Wed Jun 01 11:05:48 CEST 2022 Miaoqian Lin <linmq006@gmail.com> ARM: Fix refcount leak in axxia_boot_secondary

of_find_compatible_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: 1d22924e1c4e ("ARM: Add platform support for LSI AXM55xx SoC")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220601090548.47616-1-linmq006@gmail.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>