[PATCH v3] powerpc/powernv: Fix refcount leak bugs
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Sep 9 22:07:26 AEST 2022
On Mon, 20 Jun 2022 21:25:53 +0800, Liang He wrote:
> In these driver init functions, there are two kinds of errors:
>
> (1) missing of_put_node() for of_find_compatible_node()'s returned
> pointer (refcount incremented) in fail path or when it is not
> used anymore.
> (2) missing of_put_node() for 'for_each_xxx' loop's break
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/powernv: Fix refcount leak bugs
https://git.kernel.org/powerpc/c/605c27f3802038e4623b6fd1bbfa021e1f65b5c4
cheers
More information about the Linuxppc-dev
mailing list