[pci:pci/misc 7/9] arch/alpha/kernel/pci.c:260:3: error: implicit declaration of function 'pdev_save_srm_config'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/misc
head:   51d7f00f1169641c5d0655a1453f2164eecd4fe0
commit: a05fa0a27a11250ff5dc9321a2e1e1feaa37d345 [7/9] alpha/PCI: Make pdev_save_srm_config() static
config: alpha-allnoconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout a05fa0a27a11250ff5dc9321a2e1e1feaa37d345
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All errors (new ones prefixed by >>):

   arch/alpha/kernel/pci.c: In function 'pcibios_fixup_bus':
>> arch/alpha/kernel/pci.c:260:3: error: implicit declaration of function 'pdev_save_srm_config' [-Werror=implicit-function-declaration]
      pdev_save_srm_config(dev);
      ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/pdev_save_srm_config +260 arch/alpha/kernel/pci.c

^1da177e Linus Torvalds     2005-04-16  249  
f8d6c8d9 Greg Kroah-Hartman 2012-12-21  250  void pcibios_fixup_bus(struct pci_bus *bus)
^1da177e Linus Torvalds     2005-04-16  251  {
237865f1 Bjorn Helgaas      2015-09-15  252  	struct pci_dev *dev = bus->self;
237865f1 Bjorn Helgaas      2015-09-15  253  
237865f1 Bjorn Helgaas      2015-09-15  254  	if (pci_has_flag(PCI_PROBE_ONLY) && dev &&
237865f1 Bjorn Helgaas      2015-09-15  255  	    (dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) {
237865f1 Bjorn Helgaas      2015-09-15  256  		pci_read_bridge_bases(bus);
237865f1 Bjorn Helgaas      2015-09-15  257  	}
^1da177e Linus Torvalds     2005-04-16  258  
^1da177e Linus Torvalds     2005-04-16  259  	list_for_each_entry(dev, &bus->devices, bus_list) {
^1da177e Linus Torvalds     2005-04-16 @260  		pdev_save_srm_config(dev);
^1da177e Linus Torvalds     2005-04-16  261  	}
^1da177e Linus Torvalds     2005-04-16  262  }
^1da177e Linus Torvalds     2005-04-16  263  

:::::: The code at line 260 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux