[PATCH] arm: mach-versatile: Fix refcount leak bug in tc2_pm
Linus Walleij
linus.walleij at linaro.org
Wed Sep 13 05:16:51 PDT 2023
On Fri, Jun 17, 2022 at 2:30 PM Liang He <windhl at 126.com> wrote:
> In tc2_pm_init(), of_find_compatible_node() will return a node pointer
> with refcount incremented. We should use of_node_put() in fail path or
> when it is not used anymore.
>
> Signed-off-by: Liang He <windhl at 126.com>
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list