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

From: kbuild test robot
Date: Mon Oct 26 2015 - 20:47:34 EST

Hi Jake,

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

config: parisc-b180_defconfig (attached as .config)
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=parisc

All errors (new ones prefixed by >>):

drivers/parisc/dino.c: In function 'dino_probe':
>> drivers/parisc/dino.c:988:32: error: too few arguments to function 'pci_create_root_bus'
dino_dev->hba.hba_bus = bus = pci_create_root_bus(&dev->dev,
In file included from drivers/parisc/dino.c:49: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 +988 drivers/parisc/dino.c

30aa80da Yinghai Lu 2012-05-17 982 dino_dev->hba.bus_num.flags = IORESOURCE_BUS;
30aa80da Yinghai Lu 2012-05-17 983 pci_add_resource(&resources, &dino_dev->hba.bus_num);
^1da177e Linus Torvalds 2005-04-16 984 /*
^1da177e Linus Torvalds 2005-04-16 985 ** It's not used to avoid chicken/egg problems
^1da177e Linus Torvalds 2005-04-16 986 ** with configuration accessor functions.
^1da177e Linus Torvalds 2005-04-16 987 */
7590e500 Bjorn Helgaas 2011-10-28 @988 dino_dev->hba.hba_bus = bus = pci_create_root_bus(&dev->dev,
7590e500 Bjorn Helgaas 2011-10-28 989 dino_current_bus, &dino_cfg_ops, NULL, &resources);
c4e06576 Bjorn Helgaas 2011-10-28 990 if (!bus) {
c4e06576 Bjorn Helgaas 2011-10-28 991 printk(KERN_ERR "ERROR: failed to scan PCI bus on %s (duplicate bus number %d?)\n",

:::::: The code at line 988 was first introduced by commit
:::::: 7590e500ad83d9ac1e55eed4720e053eff14b8e5 parisc/PCI: dino: convert to pci_create_root_bus() for correct root bus resources

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

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: Binary data