[PATCH] powerpc: kernel: pci_dn: Add missing of_node_put() for of_get_xx API

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


On Fri, 1 Jul 2022 21:17:50 +0800, Liang He wrote:
> In pci_add_device_node_info(), we should use of_node_put() for the
> reference 'parent' returned by of_get_parent() to keep refcount
> balance.
> 
> 

Applied to powerpc/next.

[1/1] powerpc: kernel: pci_dn: Add missing of_node_put() for of_get_xx API
      https://git.kernel.org/powerpc/c/110a1fcb6c4d55144d8179983a475f17a1d6f832

cheers


More information about the Linuxppc-dev mailing list