Re: [PATCH v2] PCI: Move pci_dev_is/assign_added() to pci.h

2021-07-20 Thread Niklas Schnelle
On Tue, 2021-07-20 at 11:58 +0200, Niklas Schnelle wrote: > The helper function pci_dev_is_added() from drivers/pci/pci.h is used in > PCI arch code of both s390 and powerpc leading to awkward relative > includes. Move it to the global include/linux/pci.h and get rid of these > includes just for

Re: [PATCH v2] PCI: Move pci_dev_is/assign_added() to pci.h

2021-07-20 Thread kernel test robot
Hi Niklas, I love your patch! Yet something to improve: [auto build test ERROR on pci/next] [also build test ERROR on powerpc/next s390/features pm/linux-next v5.14-rc2 next-20210720] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

[PATCH v2] PCI: Move pci_dev_is/assign_added() to pci.h

2021-07-20 Thread Niklas Schnelle
The helper function pci_dev_is_added() from drivers/pci/pci.h is used in PCI arch code of both s390 and powerpc leading to awkward relative includes. Move it to the global include/linux/pci.h and get rid of these includes just for that one function. Signed-off-by: Niklas Schnelle --- Since v1: -