[pci:pci/host-artpec 18/23] drivers/pci/host/pcie-artpec6.c:279:30: error: 'artpec6' 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-artpec
head:   dc4f46efe57ff9f4037bc38dcd14b4217a116845
commit: dd09185e8d8c74f4e6e3e2f2775e98ba19f4c39e [18/23] PCI: artpec6: 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 dd09185e8d8c74f4e6e3e2f2775e98ba19f4c39e
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/host/pcie-artpec6.c: In function 'artpec6_pcie_probe':
>> drivers/pci/host/pcie-artpec6.c:279:30: error: 'artpec6' undeclared (first use in this function)
     ret = artpec6_add_pcie_port(artpec6, pdev);
                                 ^~~~~~~
   drivers/pci/host/pcie-artpec6.c:279:30: note: each undeclared identifier is reported only once for each function it appears in

vim +/artpec6 +279 drivers/pci/host/pcie-artpec6.c

   273		artpec6_pcie->regmap =
   274			syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
   275							"axis,syscon-pcie");
   276		if (IS_ERR(artpec6_pcie->regmap))
   277			return PTR_ERR(artpec6_pcie->regmap);
   278	
 > 279		ret = artpec6_add_pcie_port(artpec6, pdev);
   280		if (ret < 0)
   281			return ret;
   282	

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