tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-cleanups-wip head: ee9b4e4188d1ca0e60edc96ed54acebe8ec19dc9 commit: b8600e67f44898a662858720613f871a61c81bab [38/95] PCI: artpec6: Use dw_pcie_readl_rc() and dw_pcie_pcie_writel_rc() config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-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 b8600e67f44898a662858720613f871a61c81bab # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/pci/host/pcie-artpec6.c: In function 'artpec6_pcie_establish_link': >> drivers/pci/host/pcie-artpec6.c:142:2: error: implicit declaration of function 'dw_pcie_pcie_writel_rc' [-Werror=implicit-function-declaration] dw_pcie_pcie_writel_rc(pp, MISC_CONTROL_1_OFF, DBI_RO_WR_EN); ^~~~~~~~~~~~~~~~~~~~~~ drivers/pci/host/pcie-artpec6.c: In function 'artpec6_pcie_probe': drivers/pci/host/pcie-artpec6.c:262:30: error: passing argument 1 of 'artpec6_add_pcie_port' from incompatible pointer type [-Werror=incompatible-pointer-types] ret = artpec6_add_pcie_port(pp, pdev); ^~ drivers/pci/host/pcie-artpec6.c:196:12: note: expected 'struct artpec6_pcie *' but argument is of type 'struct pcie_port *' static int artpec6_add_pcie_port(struct artpec6_pcie *artpec6, ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/dw_pcie_pcie_writel_rc +142 drivers/pci/host/pcie-artpec6.c 136 usleep_range(100, 200); 137 138 /* 139 * Enable writing to config regs. This is required as the Synopsys 140 * driver changes the class code. That register needs DBI write enable. 141 */ > 142 dw_pcie_pcie_writel_rc(pp, MISC_CONTROL_1_OFF, DBI_RO_WR_EN); 143 144 pp->io_base &= ARTPEC6_CPU_TO_BUS_ADDR; 145 pp->mem_base &= ARTPEC6_CPU_TO_BUS_ADDR; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip