[PATCH] powerpc/xive: Fix refcount leak in xive_spapr_init

Michael Ellerman patch-notifications at ellerman.id.au
Tue May 24 21:09:43 AEST 2022


On Thu, 12 May 2022 13:05:33 +0400, Miaoqian Lin wrote:
> of_find_compatible_node() returns a node pointer with refcount
> incremented, we should use of_node_put() on it when done.
> Add missing of_node_put() to avoid refcount leak.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/xive: Fix refcount leak in xive_spapr_init
      https://git.kernel.org/powerpc/c/1d1fb9618bdd5a5fbf9a9eb75133da301d33721c

cheers


More information about the Linuxppc-dev mailing list