[pci:pci/host-keystone 17/21] drivers/pci/host/pci-keystone.h:48:34: error: unknown type name 'keystone_pcie'

[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-keystone
head:   8b0bde55b5b1e3fc3dbc339ef01a00afdfe72813
commit: 046c6d4fcade4a4bd5a7cb64a6cf13b9e378c426 [17/21] PCI: keystone: Pass keystone_pcie, not address, to IRQ functions
config: arm-multi_v7_defconfig (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 046c6d4fcade4a4bd5a7cb64a6cf13b9e378c426
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   In file included from drivers/pci/host/pci-keystone-dw.c:25:0:
>> drivers/pci/host/pci-keystone.h:48:34: error: unknown type name 'keystone_pcie'
    void ks_dw_pcie_enable_error_irq(keystone_pcie *ks_pcie);
                                     ^~~~~~~~~~~~~
   drivers/pci/host/pci-keystone.h:49:41: error: unknown type name 'keystone_pcie'
    irqreturn_t ks_dw_pcie_handle_error_irq(keystone_pcie *ks_pcie);
                                            ^~~~~~~~~~~~~
--
   In file included from drivers/pci/host/pci-keystone.c:31:0:
>> drivers/pci/host/pci-keystone.h:48:34: error: unknown type name 'keystone_pcie'
    void ks_dw_pcie_enable_error_irq(keystone_pcie *ks_pcie);
                                     ^~~~~~~~~~~~~
   drivers/pci/host/pci-keystone.h:49:41: error: unknown type name 'keystone_pcie'
    irqreturn_t ks_dw_pcie_handle_error_irq(keystone_pcie *ks_pcie);
                                            ^~~~~~~~~~~~~
   drivers/pci/host/pci-keystone.c: In function 'ks_pcie_setup_interrupts':
>> drivers/pci/host/pci-keystone.c:237:3: error: implicit declaration of function 'ks_dw_pcie_enable_error_irq' [-Werror=implicit-function-declaration]
      ks_dw_pcie_enable_error_irq(ks_pcie);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pci/host/pci-keystone.c: In function 'pcie_err_irq_handler':
>> drivers/pci/host/pci-keystone.c:305:9: error: implicit declaration of function 'ks_dw_pcie_handle_error_irq' [-Werror=implicit-function-declaration]
     return ks_dw_pcie_handle_error_irq(ks_pcie);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/keystone_pcie +48 drivers/pci/host/pci-keystone.h

    42	void ks_dw_pcie_handle_msi_irq(struct keystone_pcie *ks_pcie, int offset);
    43	phys_addr_t ks_dw_pcie_get_msi_addr(struct pcie_port *pp);
    44	
    45	/* Keystone specific PCI controller APIs */
    46	void ks_dw_pcie_enable_legacy_irqs(struct keystone_pcie *ks_pcie);
    47	void ks_dw_pcie_handle_legacy_irq(struct keystone_pcie *ks_pcie, int offset);
  > 48	void ks_dw_pcie_enable_error_irq(keystone_pcie *ks_pcie);
    49	irqreturn_t ks_dw_pcie_handle_error_irq(keystone_pcie *ks_pcie);
    50	int  ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie,
    51				struct device_node *msi_intc_np);

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