Re: [PATCH] powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
From: Michael Ellerman <hidden>
Date: 2022-05-24 11:16:41
Also in:
lkml
From: Michael Ellerman <hidden>
Date: 2022-05-24 11:16:41
Also in:
lkml
On Thu, 12 May 2022 16:37:18 +0400, Miaoqian Lin wrote:
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
Applied to powerpc/next.
[1/1] powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
https://git.kernel.org/powerpc/c/fcee96924ba1596ca80a6770b2567ca546f9a482
cheers