Re: [PATCH 4/8] Make some PCI macros available to other files. NFC.

2021-06-05 Thread Richard Henderson
On 6/2/21 8:53 PM, Jason Thorpe wrote: Move PCI_DEVFN(), PCI_BUS(), PCI_SLOT(), and PCI_FUNC() to pci.h. Signed-off-by: Jason Thorpe --- pci.c | 4 pci.h | 5 + 2 files changed, 5 insertions(+), 4 deletions(-) Reviewed-by: Richard Henderson r~

[PATCH 4/8] Make some PCI macros available to other files. NFC.

2021-06-02 Thread Jason Thorpe
Move PCI_DEVFN(), PCI_BUS(), PCI_SLOT(), and PCI_FUNC() to pci.h. Signed-off-by: Jason Thorpe --- pci.c | 4 pci.h | 5 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pci.c b/pci.c index 87a101c..ba05adb 100644 --- a/pci.c +++ b/pci.c @@ -31,10 +31,6 @@ #include "pci_