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: parisc-b180_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=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 <bhelg...@google.com>
:::::: CC: Jesse Barnes <jbar...@virtuousgeek.org>

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to