Re: [PATCH] ocxl: Use pci_dev_id() to simplify the code
From: Andrew Donnellan <hidden>
Date: 2023-08-14 07:08:46
From: Andrew Donnellan <hidden>
Date: 2023-08-14 07:08:46
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 <redacted>
Acked-by: Andrew Donnellan <redacted> -- Andrew Donnellan OzLabs, ADL Canberra ajd@linux.ibm.com IBM Australia Limited