[pci:pci/host-cleanups-wip 88/95] drivers/pci/host/pcie-rcar.c:227:31: error: 'pcie' undeclared

[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:   ee559fc5aa013976c4415dbd9c14107b6eebaa10
commit: 9d9e202b529b7bc96346bcc5c8e8bb8878e703c3 [88/95] PCI: rcar: Name private struct pointer "rcar" consistently
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-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 9d9e202b529b7bc96346bcc5c8e8bb8878e703c3
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/pci/host/pcie-rcar.c: In function 'rcar_pcie_config_access':
>> drivers/pci/host/pcie-rcar.c:227:31: error: 'pcie' undeclared (first use in this function)
     rcar_writel(rcar, rcar_readl(pcie, PCIEERRFR), PCIEERRFR);
                                  ^~~~
   drivers/pci/host/pcie-rcar.c:227:31: note: each undeclared identifier is reported only once for each function it appears in
   drivers/pci/host/pcie-rcar.c: In function 'rcar_pcie_inbound_ranges':
   drivers/pci/host/pcie-rcar.c:938:15: error: 'pcie' undeclared (first use in this function)
      rcar_writel(pcie, 0, PCIELAMR(idx + 1));
                  ^~~~

vim +/pcie +227 drivers/pci/host/pcie-rcar.c

   221		}
   222	
   223		if (rcar->root_bus_nr < 0)
   224			return PCIBIOS_DEVICE_NOT_FOUND;
   225	
   226		/* Clear errors */
 > 227		rcar_writel(rcar, rcar_readl(pcie, PCIEERRFR), PCIEERRFR);
   228	
   229		/* Set the PIO address */
   230		rcar_writel(rcar, PCIE_CONF_BUS(bus->number) |

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