[pci:pci/host-exynos 25/25] drivers/pci/host/pci-exynos.c:303:6: error: 'exynos' 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-exynos
head:   b20f51cbf7be4b1e9cfcba885cf968130bb5d68b
commit: b20f51cbf7be4b1e9cfcba885cf968130bb5d68b [25/25] PCI: exynos: Add local struct device pointers
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 b20f51cbf7be4b1e9cfcba885cf968130bb5d68b
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/host/pci-exynos.c: In function 'exynos_pcie_assert_reset':
>> drivers/pci/host/pci-exynos.c:303:6: error: 'exynos' undeclared (first use in this function)
     if (exynos->reset_gpio >= 0)
         ^~~~~~
   drivers/pci/host/pci-exynos.c:303:6: note: each undeclared identifier is reported only once for each function it appears in
   drivers/pci/host/pci-exynos.c: In function 'exynos_pcie_probe':
   drivers/pci/host/pci-exynos.c:538:7: error: 'exynos' undeclared (first use in this function)
     if (!exynos)
          ^~~~~~

vim +/exynos +303 drivers/pci/host/pci-exynos.c

   297	
   298	static void exynos_pcie_assert_reset(struct exynos_pcie *exynos_pcie)
   299	{
   300		struct pcie_port *pp = &exynos_pcie->pp;
   301		struct device *dev = pp->dev;
   302	
 > 303		if (exynos->reset_gpio >= 0)
   304			devm_gpio_request_one(dev, exynos_pcie->reset_gpio,
   305					GPIOF_OUT_INIT_HIGH, "RESET");
   306	}

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