All of lore.kernel.org
 help / color / mirror / Atom feed
* [pci:pci/host-cleanups-wip 38/95] drivers/pci/host/pcie-artpec6.c:142:2: error: implicit declaration of function 'dw_pcie_pcie_writel_rc'
@ 2016-10-05  9:20 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-10-05  9:20 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: kbuild-all, linux-pci

[-- Attachment #1: Type: text/plain, Size: 2261 bytes --]

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 #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:21 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:20 [pci:pci/host-cleanups-wip 38/95] drivers/pci/host/pcie-artpec6.c:142:2: error: implicit declaration of function 'dw_pcie_pcie_writel_rc' 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.