Re: [PATCH] powerpc: perf: Fix refcount leak bug in imc-pmu.c

From: Michael Ellerman
Date: Fri Sep 09 2022 - 08:11:56 EST


On Sat, 18 Jun 2022 15:13:53 +0800, Liang He wrote:
> In update_events_in_group(), of_find_node_by_phandle() will return
> a node pointer with refcount incremented. We should use of_node_put()
> in fail path or when it is not used anymore.
>
>

Applied to powerpc/next.

[1/1] powerpc: perf: Fix refcount leak bug in imc-pmu.c
https://git.kernel.org/powerpc/c/0dd8d2c8066e672244975c171816fdd9dae87721

cheers