linux-stable/arch/powerpc/platforms/pasemi
Michael Ellerman c28c2d4abd powerpc/pasemi: Use of_root in pas_pci_init()
Currently in pas_pci_init() a reference to the root node is leaked due
to a missing of_node_put(). Instead just use of_root directly.

Note that converting to of_find_compatible_node(NULL, ...) would
not be entirely equivalent, because that would check the compatible
property of the root node, whereas using of_root skips checking the root
node and start the search at the first child of the root.

Reported-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220906010313.1296714-1-mpe@ellerman.id.au
2022-09-06 11:03:31 +10:00
..
dma_lib.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
gpio_mdio.c
idle.c powerpc updates for 5.15 2021-09-03 11:22:50 -07:00
iommu.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
Makefile
misc.c powerpc/pasemi: Use strscpy instead of strlcpy 2022-09-06 11:03:04 +10:00
msi.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
pasemi.h powerpc/pasemi: Add __init attribute to eligible functions 2021-12-23 22:33:14 +11:00
pci.c powerpc/pasemi: Use of_root in pas_pci_init() 2022-09-06 11:03:31 +10:00
powersave.S
setup.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
time.c