Re: [PATCH] powerpc/pci: Remove useless null check before call of_node_put()

2022-04-25 Thread Tyrel Datwyler
On 4/23/22 07:32, Michael Ellerman wrote: > Tyrel Datwyler writes: >> On 4/20/22 19:52, Haowen Bai wrote: >>> No need to add null check before call of_node_put(), since the >>> implementation of of_node_put() has done it. >>> >>> Signed-off-by: Haowen Bai >>> --- >>> arch/powerpc/kernel/pci_dn.c

Re: [PATCH] powerpc/pci: Remove useless null check before call of_node_put()

2022-04-23 Thread Michael Ellerman
Tyrel Datwyler writes: > On 4/20/22 19:52, Haowen Bai wrote: >> No need to add null check before call of_node_put(), since the >> implementation of of_node_put() has done it. >> >> Signed-off-by: Haowen Bai >> --- >> arch/powerpc/kernel/pci_dn.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 d

Re: [PATCH] powerpc/pci: Remove useless null check before call of_node_put()

2022-04-22 Thread Tyrel Datwyler
On 4/20/22 19:52, Haowen Bai wrote: > No need to add null check before call of_node_put(), since the > implementation of of_node_put() has done it. > > Signed-off-by: Haowen Bai > --- > arch/powerpc/kernel/pci_dn.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arc

[PATCH] powerpc/pci: Remove useless null check before call of_node_put()

2022-04-20 Thread Haowen Bai
No need to add null check before call of_node_put(), since the implementation of of_node_put() has done it. Signed-off-by: Haowen Bai --- arch/powerpc/kernel/pci_dn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/pci_dn.c b/arch/powerpc/kernel/pci_dn