Re: [PATCH] arm: mach-versatile: Fix refcount leak bug in tc2_pm
From: Linus Walleij
Date: Wed Sep 13 2023 - 08:17:06 EST
On Fri, Jun 17, 2022 at 2:30 PM Liang He <windhl@xxxxxxx> 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@xxxxxxx>
Patch applied.
Yours,
Linus Walleij