[PATCH] powerpc/xive: Fix refcount leak in xive_get_max_prio
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Aug 2 21:02:23 AEST 2022
On Sun, 5 Jun 2022 09:32:23 +0400, Miaoqian Lin wrote:
> of_find_node_by_path() 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_get_max_prio
https://git.kernel.org/powerpc/c/255b650cbec6849443ce2e0cdd187fd5e61c218c
cheers
More information about the Linuxppc-dev
mailing list