[pci:pci/host-cleanups-wip 94/95] drivers/pci/host/pcie-spear13xx.c:159:20: error: 'pp' 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:   ee9b4e4188d1ca0e60edc96ed54acebe8ec19dc9
commit: e1a726e7876575aeb6461d2d8925b174f31f9762 [94/95] PCI: spear: Pass device-specific struct to internal functions
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 e1a726e7876575aeb6461d2d8925b174f31f9762
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/host/pcie-spear13xx.c: In function 'spear13xx_pcie_enable_interrupts':
>> drivers/pci/host/pcie-spear13xx.c:159:20: error: 'pp' undeclared (first use in this function)
      dw_pcie_msi_init(pp);
                       ^~
   drivers/pci/host/pcie-spear13xx.c:159:20: note: each undeclared identifier is reported only once for each function it appears in

vim +/pp +159 drivers/pci/host/pcie-spear13xx.c

e1a726e7 Bjorn Helgaas  2016-08-31  153  static void spear13xx_pcie_enable_interrupts(struct spear13xx_pcie *spear13xx)
51b66a6c Pratyush Anand 2014-02-11  154  {
8daeb079 Bjorn Helgaas  2016-08-31  155  	struct pcie_app_reg *app_reg = spear13xx->app_base;
51b66a6c Pratyush Anand 2014-02-11  156  
51b66a6c Pratyush Anand 2014-02-11  157  	/* Enable MSI interrupt */
51b66a6c Pratyush Anand 2014-02-11  158  	if (IS_ENABLED(CONFIG_PCI_MSI)) {
51b66a6c Pratyush Anand 2014-02-11 @159  		dw_pcie_msi_init(pp);
51b66a6c Pratyush Anand 2014-02-11  160  		writel(readl(&app_reg->int_mask) |
51b66a6c Pratyush Anand 2014-02-11  161  				MSI_CTRL_INT, &app_reg->int_mask);
51b66a6c Pratyush Anand 2014-02-11  162  	}

:::::: The code at line 159 was first introduced by commit
:::::: 51b66a6ce12570e5ee1a249c811f7f2d74814a43 PCI: spear: Add PCIe driver for ST Microelectronics SPEAr13xx

:::::: TO: Pratyush Anand <pratyush.anand@xxxxxx>
:::::: CC: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

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