[PATCH] powerpc/powermac/pfunc_base: Fix refcount leak bug in macio_gpio_init_one()

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


On Sat, 16 Jul 2022 15:31:11 +0800, Liang He wrote:
> We should call of_node_put() for the reference 'gparent' escaped
> out of the for_each_child_of_node() as it has increased the refcount.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/powermac/pfunc_base: Fix refcount leak bug in macio_gpio_init_one()
      https://git.kernel.org/powerpc/c/11373c933db20f8b6fd2cad27712e683ac9785f0

cheers


More information about the Linuxppc-dev mailing list