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

From
Andrew Donnellan <hidden>
Date
2023-08-14 07:08:46
Reply to
Zheng Zengkai, 2023-08-11
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
Thread (4 messages) 4 messages, 4 authors, last reply 2023-08-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help