tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-cleanups-wip head: b23f37267ba71c68340364da6393199055f46ab8 commit: 6d7a40ab72c7af125a2702b7b2603a2f94b9e646 [116/126] PCI: rcar: Add local struct device pointers config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 6d7a40ab72c7af125a2702b7b2603a2f94b9e646 # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): In file included from arch/arm64/include/asm/bug.h:62:0, from include/linux/bug.h:4, from include/linux/thread_info.h:11, from include/asm-generic/current.h:4, from ./arch/arm64/include/generated/asm/current.h:1, from include/linux/mutex.h:13, from include/linux/notifier.h:13, from include/linux/clk.h:17, from drivers/pci/host/pcie-rcar.c:17: drivers/pci/host/pcie-rcar.c: In function 'rcar_msi_setup_irqs': >> drivers/pci/host/pcie-rcar.c:712:28: error: incompatible type for argument 1 of 'list_is_singular' WARN_ON(!list_is_singular(dev->msi_list)); ^ include/asm-generic/bug.h:92:25: note: in definition of macro 'WARN_ON' int __ret_warn_on = !!(condition); \ ^~~~~~~~~ In file included from include/linux/mutex.h:14:0, from include/linux/notifier.h:13, from include/linux/clk.h:17, from drivers/pci/host/pcie-rcar.c:17: include/linux/list.h:229:19: note: expected 'const struct list_head *' but argument is of type 'struct list_head' static inline int list_is_singular(const struct list_head *head) ^~~~~~~~~~~~~~~~ vim +/list_is_singular +712 drivers/pci/host/pcie-rcar.c 706 int i; 707 708 /* MSI-X interrupts are not supported */ 709 if (type == PCI_CAP_ID_MSIX) 710 return -EINVAL; 711 > 712 WARN_ON(!list_is_singular(dev->msi_list)); 713 desc = list_entry(dev->msi_list.next, struct msi_desc, list); 714 715 hwirq = rcar_msi_alloc_region(msi, nvec); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip