Re: [PATCH] powerpc/fsl_pci: Remove of_node_put() when reference escaped out

2022-09-09 Thread Michael Ellerman
On Wed, 20 Jul 2022 20:45:57 +0800, Liang He wrote: > In fsl_pci_assign_primary(), we should remove the of_node_put() > when breaking out of the for_each_matching_node() as the 'np' > is escaped out by global 'fsl_pci_primary'. > > Applied to powerpc/next. [1/1] powerpc/fsl_pci: Remove of_node_

[PATCH] powerpc/fsl_pci: Remove of_node_put() when reference escaped out

2022-07-20 Thread Liang He
In fsl_pci_assign_primary(), we should remove the of_node_put() when breaking out of the for_each_matching_node() as the 'np' is escaped out by global 'fsl_pci_primary'. Fixes: 905e75c46dba ("powerpc/fsl-pci: Unify pci/pcie initialization code") Signed-off-by: Liang He --- arch/powerpc/sysdev/fs