Hi Shawn, I love your patch! Perhaps something to improve: [auto build test WARNING on pci/next] [also build test WARNING on v4.17-rc2 next-20180426] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Shawn-Lin/Add-new-helper-to-allocate-IRQ-domain-for-host-drivers/20180430-025537 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: s390-allmodconfig (attached as .config) compiler: s390x-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=s390 All warnings (new ones prefixed by >>): In file included from arch/s390/include/asm/hw_irq.h:6:0, from include/linux/irq.h:522, from include/linux/of_irq.h:7, from drivers/dma/mv_xor.c:26: >> include/linux/pci.h:1455:35: warning: 'struct irq_domain_ops' declared inside parameter list will not be visible outside of this definition or declaration bool general_xlate, const struct irq_domain_ops *intx_domain_ops, ^~~~~~~~~~~~~~ vim +1455 include/linux/pci.h 1453 1454 extern struct irq_domain *pci_alloc_intx_irqd(struct device *dev, void *host, > 1455 bool general_xlate, const struct irq_domain_ops *intx_domain_ops, 1456 struct device_node *local_intc); 1457 #ifdef CONFIG_PCIEPORTBUS 1458 extern bool pcie_ports_disabled; 1459 #else 1460 #define pcie_ports_disabled true 1461 #endif 1462 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip