tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-cleanups-wip head: ee9b4e4188d1ca0e60edc96ed54acebe8ec19dc9 commit: dbcd9e3eefd5efbb4c711093d6dec641232fe63d [42/95] PCI: dra7xx: Pass device-specific struct to internal functions 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 dbcd9e3eefd5efbb4c711093d6dec641232fe63d # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/pci/host/pci-dra7xx.c: In function 'dra7xx_pcie_host_init': >> drivers/pci/host/pci-dra7xx.c:151:29: error: passing argument 1 of 'dra7xx_pcie_establish_link' from incompatible pointer type [-Werror=incompatible-pointer-types] dra7xx_pcie_establish_link(pp); ^~ drivers/pci/host/pci-dra7xx.c:105:12: note: expected 'struct dra7xx_pcie *' but argument is of type 'struct pcie_port *' static int dra7xx_pcie_establish_link(struct dra7xx_pcie *dra7xx) ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/dra7xx_pcie_establish_link +151 drivers/pci/host/pci-dra7xx.c 9cdce1cd Zhou Wang 2015-10-29 145 pp->mem_base &= DRA7XX_CPU_TO_BUS_ADDR; 9cdce1cd Zhou Wang 2015-10-29 146 pp->cfg0_base &= DRA7XX_CPU_TO_BUS_ADDR; 9cdce1cd Zhou Wang 2015-10-29 147 pp->cfg1_base &= DRA7XX_CPU_TO_BUS_ADDR; 883cc17c Gabriele Paoloni 2015-10-29 148 7e57fd14 Jisheng Zhang 2016-03-16 149 dw_pcie_setup_rc(pp); 7e57fd14 Jisheng Zhang 2016-03-16 150 47ff3de9 Kishon Vijay Abraham I 2014-07-22 @151 dra7xx_pcie_establish_link(pp); 47ff3de9 Kishon Vijay Abraham I 2014-07-22 152 if (IS_ENABLED(CONFIG_PCI_MSI)) 47ff3de9 Kishon Vijay Abraham I 2014-07-22 153 dw_pcie_msi_init(pp); dbcd9e3e Bjorn Helgaas 2016-08-30 154 dra7xx_pcie_enable_interrupts(dra7xx); :::::: The code at line 151 was first introduced by commit :::::: 47ff3de911a728cdf9ecc6ad777131902cff62b4 PCI: dra7xx: Add TI DRA7xx PCIe driver :::::: TO: Kishon Vijay Abraham I :::::: CC: Bjorn Helgaas --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation