[staging:staging-testing 202/216] include/linux/msi.h:225:10: error: unknown type name 'msi_alloc_info_t'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   5551ad1e9fad2cf06288c6e93cb95f879b8cdf5e
commit: 03274850279c8da86358adfdad1422a850b066ac [202/216] staging: fsl-mc: allow the driver compile multi-arch
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 03274850279c8da86358adfdad1422a850b066ac
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   In file included from arch/sparc/kernel/pci_impl.h:12:0,
                    from arch/sparc/kernel/traps_64.c:374:
>> include/linux/msi.h:225:10: error: unknown type name 'msi_alloc_info_t'
             msi_alloc_info_t *arg);
             ^~~~~~~~~~~~~~~~
   include/linux/msi.h:229:9: error: unknown type name 'msi_alloc_info_t'
            msi_alloc_info_t *arg);
            ^~~~~~~~~~~~~~~~
   include/linux/msi.h:238:12: error: unknown type name 'msi_alloc_info_t'
               msi_alloc_info_t *arg);
               ^~~~~~~~~~~~~~~~
   include/linux/msi.h:239:22: error: unknown type name 'msi_alloc_info_t'
     void  (*msi_finish)(msi_alloc_info_t *arg, int retval);
                         ^~~~~~~~~~~~~~~~
   include/linux/msi.h:240:20: error: unknown type name 'msi_alloc_info_t'
     void  (*set_desc)(msi_alloc_info_t *arg,
                       ^~~~~~~~~~~~~~~~
   include/linux/msi.h:308:18: error: unknown type name 'msi_alloc_info_t'
           int nvec, msi_alloc_info_t *args);
                     ^~~~~~~~~~~~~~~~
   include/linux/msi.h:310:29: error: unknown type name 'msi_alloc_info_t'
            int virq, int nvec, msi_alloc_info_t *args);
                                ^~~~~~~~~~~~~~~~

vim +/msi_alloc_info_t +225 include/linux/msi.h

f3cf8bb0 Jiang Liu        2014-11-12  204  
f3cf8bb0 Jiang Liu        2014-11-12  205  /**
f3cf8bb0 Jiang Liu        2014-11-12  206   * struct msi_domain_ops - MSI interrupt domain callbacks
f3cf8bb0 Jiang Liu        2014-11-12  207   * @get_hwirq:		Retrieve the resulting hw irq number
f3cf8bb0 Jiang Liu        2014-11-12  208   * @msi_init:		Domain specific init function for MSI interrupts
f3cf8bb0 Jiang Liu        2014-11-12  209   * @msi_free:		Domain specific function to free a MSI interrupts
d9109698 Jiang Liu        2014-11-15  210   * @msi_check:		Callback for verification of the domain/info/dev data
d9109698 Jiang Liu        2014-11-15  211   * @msi_prepare:	Prepare the allocation of the interrupts in the domain
1d1e8cdc Thomas Petazzoni 2015-12-21  212   * @msi_finish:		Optional callback to finalize the allocation
d9109698 Jiang Liu        2014-11-15  213   * @set_desc:		Set the msi descriptor for an interrupt
d9109698 Jiang Liu        2014-11-15  214   * @handle_error:	Optional error handler if the allocation fails
d9109698 Jiang Liu        2014-11-15  215   *
d9109698 Jiang Liu        2014-11-15  216   * @get_hwirq, @msi_init and @msi_free are callbacks used by
d9109698 Jiang Liu        2014-11-15  217   * msi_create_irq_domain() and related interfaces
d9109698 Jiang Liu        2014-11-15  218   *
d9109698 Jiang Liu        2014-11-15  219   * @msi_check, @msi_prepare, @msi_finish, @set_desc and @handle_error
1d1e8cdc Thomas Petazzoni 2015-12-21  220   * are callbacks used by msi_domain_alloc_irqs() and related
d9109698 Jiang Liu        2014-11-15  221   * interfaces which are based on msi_desc.
f3cf8bb0 Jiang Liu        2014-11-12  222   */
f3cf8bb0 Jiang Liu        2014-11-12  223  struct msi_domain_ops {
aeeb5965 Jiang Liu        2014-11-15  224  	irq_hw_number_t	(*get_hwirq)(struct msi_domain_info *info,
aeeb5965 Jiang Liu        2014-11-15 @225  				     msi_alloc_info_t *arg);
f3cf8bb0 Jiang Liu        2014-11-12  226  	int		(*msi_init)(struct irq_domain *domain,
f3cf8bb0 Jiang Liu        2014-11-12  227  				    struct msi_domain_info *info,
f3cf8bb0 Jiang Liu        2014-11-12  228  				    unsigned int virq, irq_hw_number_t hwirq,
aeeb5965 Jiang Liu        2014-11-15  229  				    msi_alloc_info_t *arg);
f3cf8bb0 Jiang Liu        2014-11-12  230  	void		(*msi_free)(struct irq_domain *domain,
f3cf8bb0 Jiang Liu        2014-11-12  231  				    struct msi_domain_info *info,
f3cf8bb0 Jiang Liu        2014-11-12  232  				    unsigned int virq);
d9109698 Jiang Liu        2014-11-15  233  	int		(*msi_check)(struct irq_domain *domain,
d9109698 Jiang Liu        2014-11-15  234  				     struct msi_domain_info *info,
d9109698 Jiang Liu        2014-11-15  235  				     struct device *dev);
d9109698 Jiang Liu        2014-11-15  236  	int		(*msi_prepare)(struct irq_domain *domain,
d9109698 Jiang Liu        2014-11-15  237  				       struct device *dev, int nvec,
d9109698 Jiang Liu        2014-11-15  238  				       msi_alloc_info_t *arg);
d9109698 Jiang Liu        2014-11-15  239  	void		(*msi_finish)(msi_alloc_info_t *arg, int retval);
d9109698 Jiang Liu        2014-11-15  240  	void		(*set_desc)(msi_alloc_info_t *arg,
d9109698 Jiang Liu        2014-11-15  241  				    struct msi_desc *desc);
d9109698 Jiang Liu        2014-11-15  242  	int		(*handle_error)(struct irq_domain *domain,
d9109698 Jiang Liu        2014-11-15  243  					struct msi_desc *desc, int error);
f3cf8bb0 Jiang Liu        2014-11-12  244  };
f3cf8bb0 Jiang Liu        2014-11-12  245  

:::::: The code at line 225 was first introduced by commit
:::::: aeeb59657c35da64068336c20068da237f41ab76 genirq: Provide default callbacks for msi_domain_ops

:::::: TO: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>
:::::: CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux