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

Michael Ellerman patch-notifications at ellerman.id.au
Fri Sep 9 22:07:08 AEST 2022


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


More information about the Linuxppc-dev mailing list