Skip to content
Commit a8b89c10 authored by Liang He's avatar Liang He Committed by Michael Ellerman
Browse files

powerpc/85xx: Add missing of_node_get/put() in ge_imp3a_pci_assign_primary()



for_each_node_by_type() will automatically increase and decrease
the refcount during the iteration. However, there is a reference
escaped into global 'fsl_pci_primary' and we need to handle it.

Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220701140119.245435-1-windhl@126.com
parent 9d86f091
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment