Re: [PATCH v3 4/7] PCI: Record an fwnode associated with root PCI buses, optionally

From: kbuild test robot
Date: Mon Oct 26 2015 - 21:44:41 EST


Hi Jake,

[auto build test ERROR on next-20151022 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url: https://github.com/0day-ci/linux/commits/jakeo-microsoft-com/New-paravirtual-PCI-front-end-for-Hyper-V-VMs/20151027-072118
config: powerpc-defconfig (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=powerpc

All errors (new ones prefixed by >>):

arch/powerpc/kernel/pci-common.c: In function 'pcibios_scan_phb':
>> arch/powerpc/kernel/pci-common.c:1621:8: error: too few arguments to function 'pci_create_root_bus'
bus = pci_create_root_bus(hose->parent, hose->first_busno,
^
In file included from arch/powerpc/kernel/pci-common.c:20:0:
include/linux/pci.h:791:17: note: declared here
struct pci_bus *pci_create_root_bus(struct device *parent, int bus,
^

vim +/pci_create_root_bus +1621 arch/powerpc/kernel/pci-common.c

be8e60d8 Yinghai Lu 2012-05-17 1615 hose->busn.start = hose->first_busno;
be8e60d8 Yinghai Lu 2012-05-17 1616 hose->busn.end = hose->last_busno;
be8e60d8 Yinghai Lu 2012-05-17 1617 hose->busn.flags = IORESOURCE_BUS;
be8e60d8 Yinghai Lu 2012-05-17 1618 pci_add_resource(&resources, &hose->busn);
be8e60d8 Yinghai Lu 2012-05-17 1619
0ed2c722 Grant Likely 2009-08-28 1620 /* Create an empty bus for the toplevel */
45a709f8 Bjorn Helgaas 2011-10-28 @1621 bus = pci_create_root_bus(hose->parent, hose->first_busno,
45a709f8 Bjorn Helgaas 2011-10-28 1622 hose->ops, hose, &resources);
0ed2c722 Grant Likely 2009-08-28 1623 if (bus == NULL) {
0ed2c722 Grant Likely 2009-08-28 1624 pr_err("Failed to create bus for PCI domain %04x\n",

:::::: The code at line 1621 was first introduced by commit
:::::: 45a709f890a7b84930942a5f5f82011312fe727c powerpc/PCI: convert to pci_create_root_bus()

:::::: TO: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
:::::: CC: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data