* [pci:pci/host-cleanups-wip 42/95] drivers/pci/host/pci-dra7xx.c:151:29: error: passing argument 1 of 'dra7xx_pcie_establish_link' from incompatible pointer type
@ 2016-10-05 9:26 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-10-05 9:26 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: kbuild-all, linux-pci
[-- Attachment #1: Type: text/plain, Size: 2562 bytes --]
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 <kishon@ti.com>
:::::: CC: Bjorn Helgaas <bhelgaas@google.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 58509 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-05 9:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-05 9:26 [pci:pci/host-cleanups-wip 42/95] drivers/pci/host/pci-dra7xx.c:151:29: error: passing argument 1 of 'dra7xx_pcie_establish_link' from incompatible pointer type kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.