Re: [PATCH] powerpc: 85xx: Fix refcount bugs in ge_imp3a_pci_assign_primary()

2022-09-09 Thread Michael Ellerman
On Fri, 1 Jul 2022 22:01:19 +0800, Liang He wrote: > 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. > > Applied to powerpc/next. [1/1] powerpc:

[PATCH] powerpc: 85xx: Fix refcount bugs in ge_imp3a_pci_assign_primary()

2022-07-01 Thread Liang He
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: Liang He --- arch/powerpc/platforms/85xx/ge_imp3a.c | 6 -- 1 file changed, 4 inser