Re: [PATCH] powerpc/eeh: Use pci_dev_id() to simplify the code

2023-08-30 Thread Michael Ellerman
On Tue, 15 Aug 2023 10:33:03 +0800, Jialin Zhang wrote: > PCI core API pci_dev_id() can be used to get the BDF number for a pci > device. We don't need to compose it mannually. Use pci_dev_id() to > simplify the code a little bit. > > Applied to powerpc/next. [1/1] powerpc/eeh: Use pci_dev_id()

[PATCH] powerpc/eeh: Use pci_dev_id() to simplify the code

2023-08-15 Thread Jialin Zhang
PCI core API pci_dev_id() can be used to get the BDF number for a pci device. We don't need to compose it mannually. Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Jialin Zhang --- arch/powerpc/platforms/powernv/eeh-powernv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletio