Re: [PATCH] arm: mach-versatile: Fix refcount leak bug in tc2_pm
On Fri, Jun 17, 2022 at 2:30 PM Liang He <windhl@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@126.com>