[PATCH] powerpc: icp-hv: fix missing of_node_put in success path

Michael Ellerman patch-notifications at ellerman.id.au
Wed Sep 9 23:37:37 AEST 2020


On Wed, 4 Jul 2018 10:03:27 +0200, Nicholas Mc Guire wrote:
>  Both of_find_compatible_node() and of_find_node_by_type() will
> return a refcounted node on success - thus for the success path
> the node must be explicitly released with a of_node_put().

Applied to powerpc/next.

[1/1] powerpc/icp-hv: Fix missing of_node_put() in success path
      https://git.kernel.org/powerpc/c/d3e669f31ec35856f5e85df9224ede5bdbf1bc7b

cheers


More information about the Linuxppc-dev mailing list