[pci:pci/host-layerscape 21/26] drivers/pci/host/pci-layerscape.c:218:26: error: 'ls' 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-layerscape
head:   f1b8e6265a5fb8c2dfbfdee4be32b89abe66e439
commit: e50ffe68c8998f8de396968dabd6267ec261411e [21/26] PCI: layerscape: Pass device-specific struct to internal functions
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 e50ffe68c8998f8de396968dabd6267ec261411e
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

Note: the pci/pci/host-layerscape HEAD f1b8e6265a5fb8c2dfbfdee4be32b89abe66e439 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

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

vim +/ls +218 drivers/pci/host/pci-layerscape.c

   212		{ },
   213	};
   214	
   215	static int __init ls_add_pcie_port(struct ls_pcie *ls_pcie,
   216					   struct platform_device *pdev)
   217	{
 > 218		struct pcie_port *pp = &ls->pp;
   219		int ret;
   220	
   221		pp->dev = &pdev->dev;

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