[pci:pci/host-dra7xx 24/25] drivers/pci/host/pci-dra7xx.c:274:26: error: 'dra7xx' 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-dra7xx
head:   5530be7de83ac14faf4af7c8dcf1597b74f4fa51
commit: 2ab7651eab253822418ca03228f9ac0b60e31aef [24/25] PCI: dra7xx: Move struct pcie_port setup to probe function
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 2ab7651eab253822418ca03228f9ac0b60e31aef
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/host/pci-dra7xx.c: In function 'dra7xx_add_pcie_port':
>> drivers/pci/host/pci-dra7xx.c:274:26: error: 'dra7xx' undeclared (first use in this function)
     struct pcie_port *pp = &dra7xx->pp;
                             ^~~~~~
   drivers/pci/host/pci-dra7xx.c:274:26: note: each undeclared identifier is reported only once for each function it appears in

vim +/dra7xx +274 drivers/pci/host/pci-dra7xx.c

   268		return IRQ_HANDLED;
   269	}
   270	
   271	static int __init dra7xx_add_pcie_port(struct dra7xx_pcie *dra7xx_pcie,
   272					       struct platform_device *pdev)
   273	{
 > 274		struct pcie_port *pp = &dra7xx->pp;
   275		struct device *dev = pp->dev;
   276		struct resource *res;
   277		int ret;

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