Re: [PATCH 1/2] add new platform driver for PCI RC
From: kbuild test robot
Date: Sat Dec 05 2015 - 19:43:37 EST
Hi Joao,
[auto build test ERROR on arc/for-next]
[also build test ERROR on v4.4-rc3 next-20151203]
url: https://github.com/0day-ci/linux/commits/Joao-Pinto/adding-PCI-support-to-AXS10x/20151124-223533
base: https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc for-next
config: sparc-allmodconfig (attached as .config)
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
# save the attached .config to linux build tree
make.cross ARCH=sparc
All errors (new ones prefixed by >>):
drivers/pci/host/pcie-designware.c: In function 'dw_pcie_host_init':
>> drivers/pci/host/pcie-designware.c:431:2: error: implicit declaration of function 'of_pci_get_host_bridge_resources' [-Werror=implicit-function-declaration]
ret = of_pci_get_host_bridge_resources(np, 0, 0xff, &res, &pp->io_base);
^
drivers/pci/host/pcie-designware.c:561:2: error: implicit declaration of function 'pci_has_flag' [-Werror=implicit-function-declaration]
if (!pci_has_flag(PCI_PROBE_ONLY)) {
^
drivers/pci/host/pcie-designware.c:561:20: error: 'PCI_PROBE_ONLY' undeclared (first use in this function)
if (!pci_has_flag(PCI_PROBE_ONLY)) {
^
drivers/pci/host/pcie-designware.c:561:20: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
vim +/of_pci_get_host_bridge_resources +431 drivers/pci/host/pcie-designware.c
4dd964df Kishon Vijay Abraham I 2014-07-17 425 pp->cfg0_base = cfg_res->start;
adf70fc0 Pratyush Anand 2014-09-05 426 pp->cfg1_base = cfg_res->start + pp->cfg0_size;
0f414212 Murali Karicheri 2015-07-21 427 } else if (!pp->va_cfg0_base) {
4dd964df Kishon Vijay Abraham I 2014-07-17 428 dev_err(pp->dev, "missing *config* reg space\n");
4dd964df Kishon Vijay Abraham I 2014-07-17 429 }
4dd964df Kishon Vijay Abraham I 2014-07-17 430
0021d22b Zhou Wang 2015-10-29 @431 ret = of_pci_get_host_bridge_resources(np, 0, 0xff, &res, &pp->io_base);
0021d22b Zhou Wang 2015-10-29 432 if (ret)
0021d22b Zhou Wang 2015-10-29 433 return ret;
4b1ced84 Jingoo Han 2013-07-31 434
:::::: The code at line 431 was first introduced by commit
:::::: 0021d22b73d69f2121b89987a94d5ef5c4e14271 PCI: designware: Use of_pci_get_host_bridge_resources() to parse DT
:::::: TO: Zhou Wang <wangzhou1@xxxxxxxxxxxxx>
:::::: CC: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data