lkml.org 
[lkml]   [2015]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] add new platform driver for PCI RC
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: microblaze-allyesconfig (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=microblaze

All errors (new ones prefixed by >>):

drivers/pci/host/pcie-designware.c: In function 'dw_pcie_host_init':
>> 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 +/pci_has_flag +561 drivers/pci/host/pcie-designware.c

cbce7900 Zhou Wang 2015-10-29 555
cbce7900 Zhou Wang 2015-10-29 556 #ifdef CONFIG_ARM
cbce7900 Zhou Wang 2015-10-29 557 /* support old dtbs that incorrectly describe IRQs */
cbce7900 Zhou Wang 2015-10-29 558 pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci);
0815f957 Yijing Wang 2014-11-11 559 #endif
0815f957 Yijing Wang 2014-11-11 560
cbce7900 Zhou Wang 2015-10-29 @561 if (!pci_has_flag(PCI_PROBE_ONLY)) {
cbce7900 Zhou Wang 2015-10-29 562 pci_bus_size_bridges(bus);
cbce7900 Zhou Wang 2015-10-29 563 pci_bus_assign_resources(bus);
4b1ced84 Jingoo Han 2013-07-31 564

:::::: The code at line 561 was first introduced by commit
:::::: cbce7900598c26a12652f8ca9c41c5b29034c38d PCI: designware: Make driver arch-agnostic

:::::: TO: Zhou Wang <wangzhou1@hisilicon.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
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-12-06 06:41    [W:0.274 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site