[PATCH] powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
Michael Ellerman
patch-notifications at ellerman.id.au
Tue May 24 21:09:44 AEST 2022
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
More information about the Linuxppc-dev
mailing list