[pci:pci/host-xilinx 16/25] drivers/pci/host/pcie-xilinx.c:386:23: error: 'port' 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-xilinx
head:   745677c5797041c6a7f15a464f1ec67f8ef65898
commit: 98d1f824edc10e5e314a8ca8ca8bb7a065f6545b [16/25] PCI: xilinx: Name private struct pointer "xilinx_pcie" consistently
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 98d1f824edc10e5e314a8ca8ca8bb7a065f6545b
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/host/pcie-xilinx.c: In function 'xilinx_pcie_intr_handler':
>> drivers/pci/host/pcie-xilinx.c:386:23: error: 'port' undeclared (first use in this function)
     struct device *dev = port->dev;
                          ^~~~
   drivers/pci/host/pcie-xilinx.c:386:23: note: each undeclared identifier is reported only once for each function it appears in

vim +/port +386 drivers/pci/host/pcie-xilinx.c

8961def5 Srikanth Thokala 2014-08-20  380   *
8961def5 Srikanth Thokala 2014-08-20  381   * Return: IRQ_HANDLED on success and IRQ_NONE on failure
8961def5 Srikanth Thokala 2014-08-20  382   */
8961def5 Srikanth Thokala 2014-08-20  383  static irqreturn_t xilinx_pcie_intr_handler(int irq, void *data)
8961def5 Srikanth Thokala 2014-08-20  384  {
98d1f824 Bjorn Helgaas    2016-10-06  385  	struct xilinx_pcie *xilinx_pcie = (struct xilinx_pcie *)data;
b304ef8a Bjorn Helgaas    2016-10-06 @386  	struct device *dev = port->dev;
8961def5 Srikanth Thokala 2014-08-20  387  	u32 val, mask, status, msi_data;
8961def5 Srikanth Thokala 2014-08-20  388  
8961def5 Srikanth Thokala 2014-08-20  389  	/* Read interrupt decode and mask registers */

:::::: The code at line 386 was first introduced by commit
:::::: b304ef8ad55b73628dd031cbd28e0e8edcad8d03 PCI: xilinx: Add local struct device pointers

:::::: TO: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
:::::: CC: Bjorn Helgaas <bhelgaas@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