Re: [PATCH] ocxl: Use pci_dev_id() to simplify the code

2023-08-23 Thread Michael Ellerman
On Fri, 11 Aug 2023 18:20:39 +0800, Zheng Zengkai 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] ocxl: Use pci_dev_id() to

Re: [PATCH] ocxl: Use pci_dev_id() to simplify the code

2023-08-14 Thread Andrew Donnellan
On Fri, 2023-08-11 at 18:20 +0800, Zheng Zengkai 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. > > Signed-off-by: Zheng Zengkai Acked-by: Andrew Donnellan --

[PATCH] ocxl: Use pci_dev_id() to simplify the code

2023-08-11 Thread Zheng Zengkai
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: Zheng Zengkai --- arch/powerpc/platforms/powernv/ocxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] ocxl: Use pci_dev_id() to simplify the code

2023-08-11 Thread Frederic Barrat
On 11/08/2023 12:20, Zheng Zengkai 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. Signed-off-by: Zheng Zengkai --- LGTM Acked-by: Frederic Barrat Fred