[PATCH] powerpc/powermac/feature: Fix refcount leak bug

Michael Ellerman patch-notifications at ellerman.id.au
Fri Sep 9 22:07:28 AEST 2022


On Sat, 16 Jul 2022 14:54:12 +0800, Liang He wrote:
> In probe_one_macio(), we should call of_node_put() for the refernece
> 'node' escaped out of the for_each_node_by_name() which has increased
> its refcount. While the 'node' will finally escaped into a global
> reference, we should still call of_node_put() in fail path which will
> stop global reference creation.
> 
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/powermac/feature: Fix refcount leak bug
      https://git.kernel.org/powerpc/c/d36337ce950ce8c57a8e4f61593f923cceaf0dd7

cheers


More information about the Linuxppc-dev mailing list