[pci:pci/host-cleanups-wip 91/95] drivers/pci/host/pci-rcar-gen2.c:167:15: error: implicit declaration of function 'rcar_pci_read'

[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/host-cleanups-wip
head:   ee9b4e4188d1ca0e60edc96ed54acebe8ec19dc9
commit: b6204ed0e9b155c3ee9fd8aa20751d3b49d8f5d6 [91/95] PCI: rcar-gen2: Add register accessors
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
        git checkout b6204ed0e9b155c3ee9fd8aa20751d3b49d8f5d6
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/host/pci-rcar-gen2.c: In function 'rcar_pci_err_irq':
>> drivers/pci/host/pci-rcar-gen2.c:167:15: error: implicit declaration of function 'rcar_pci_read' [-Werror=implicit-function-declaration]
     u32 status = rcar_pci_read(rcar, RCAR_PCI_INT_STATUS_REG);
                  ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/rcar_pci_read +167 drivers/pci/host/pci-rcar-gen2.c

   161	#ifdef CONFIG_PCI_DEBUG
   162	/* if debug enabled, then attach an error handler irq to the bridge */
   163	
   164	static irqreturn_t rcar_pci_err_irq(int irq, void *pw)
   165	{
   166		struct rcar_pci *rcar = pw;
 > 167		u32 status = rcar_pci_read(rcar, RCAR_PCI_INT_STATUS_REG);
   168	
   169		if (status & RCAR_PCI_INT_ALLERRORS) {
   170			dev_err(rcar->dev, "error irq: status %08x\n", status);

---
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