Re: [PATCH for-next 2/2] RDMA/bnxt_re: Implement the alloc/get_hw_stats callback

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

 



Hi Somnath,

[auto build test ERROR on next-20170728]
[cannot apply to rdma/master v4.13-rc3 v4.13-rc2 v4.13-rc1 v4.13-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Selvin-Xavier/RDMA-bnxt_re-Allocate-multiple-notification-queues/20170802-040507
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   In file included from drivers/infiniband/hw/bnxt_re/hw_counters.c:46:0:
>> drivers/infiniband/hw/bnxt_re/qplib_fp.h:413:25: error: field 'worker' has incomplete type
     struct tasklet_struct  worker;
                            ^
   In file included from drivers/infiniband/hw/bnxt_re/hw_counters.c:47:0:
>> drivers/infiniband/hw/bnxt_re/qplib_rcfw.h:160:24: error: field 'worker' has incomplete type
     struct tasklet_struct worker;
                           ^
   In file included from drivers/infiniband/hw/bnxt_re/hw_counters.c:48:0:
>> drivers/infiniband/hw/bnxt_re/bnxt_re.h:113:25: error: field 'nq_task' has incomplete type
     struct tasklet_struct  nq_task;
                            ^

vim +/worker +413 drivers/infiniband/hw/bnxt_re/qplib_fp.h

1ac5a404 Selvin Xavier 2017-02-10  391  
1ac5a404 Selvin Xavier 2017-02-10  392  #define NQ_CONS_PCI_BAR_REGION		2
1ac5a404 Selvin Xavier 2017-02-10  393  #define NQ_DB_KEY_CP			(0x2 << CMPL_DOORBELL_KEY_SFT)
1ac5a404 Selvin Xavier 2017-02-10  394  #define NQ_DB_IDX_VALID			CMPL_DOORBELL_IDX_VALID
1ac5a404 Selvin Xavier 2017-02-10  395  #define NQ_DB_IRQ_DIS			CMPL_DOORBELL_MASK
1ac5a404 Selvin Xavier 2017-02-10  396  #define NQ_DB_CP_FLAGS_REARM		(NQ_DB_KEY_CP |		\
1ac5a404 Selvin Xavier 2017-02-10  397  					 NQ_DB_IDX_VALID)
1ac5a404 Selvin Xavier 2017-02-10  398  #define NQ_DB_CP_FLAGS			(NQ_DB_KEY_CP    |	\
1ac5a404 Selvin Xavier 2017-02-10  399  					 NQ_DB_IDX_VALID |	\
1ac5a404 Selvin Xavier 2017-02-10  400  					 NQ_DB_IRQ_DIS)
1ac5a404 Selvin Xavier 2017-02-10  401  #define NQ_DB_REARM(db, raw_cons, cp_bit)			\
1ac5a404 Selvin Xavier 2017-02-10  402  	writel(NQ_DB_CP_FLAGS_REARM | ((raw_cons) & ((cp_bit) - 1)), db)
1ac5a404 Selvin Xavier 2017-02-10  403  #define NQ_DB(db, raw_cons, cp_bit)				\
1ac5a404 Selvin Xavier 2017-02-10  404  	writel(NQ_DB_CP_FLAGS | ((raw_cons) & ((cp_bit) - 1)), db)
1ac5a404 Selvin Xavier 2017-02-10  405  
1ac5a404 Selvin Xavier 2017-02-10  406  struct bnxt_qplib_nq {
1ac5a404 Selvin Xavier 2017-02-10  407  	struct pci_dev			*pdev;
1ac5a404 Selvin Xavier 2017-02-10  408  
1ac5a404 Selvin Xavier 2017-02-10  409  	int				vector;
8455dd37 Selvin Xavier 2017-08-01  410  	cpumask_t			mask;
1ac5a404 Selvin Xavier 2017-02-10  411  	int				budget;
1ac5a404 Selvin Xavier 2017-02-10  412  	bool				requested;
1ac5a404 Selvin Xavier 2017-02-10 @413  	struct tasklet_struct		worker;
1ac5a404 Selvin Xavier 2017-02-10  414  	struct bnxt_qplib_hwq		hwq;
1ac5a404 Selvin Xavier 2017-02-10  415  
1ac5a404 Selvin Xavier 2017-02-10  416  	u16				bar_reg;
1ac5a404 Selvin Xavier 2017-02-10  417  	u16				bar_reg_off;
1ac5a404 Selvin Xavier 2017-02-10  418  	u16				ring_id;
1ac5a404 Selvin Xavier 2017-02-10  419  	void __iomem			*bar_reg_iomem;
1ac5a404 Selvin Xavier 2017-02-10  420  
1ac5a404 Selvin Xavier 2017-02-10  421  	int				(*cqn_handler)
1ac5a404 Selvin Xavier 2017-02-10  422  						(struct bnxt_qplib_nq *nq,
1ac5a404 Selvin Xavier 2017-02-10  423  						 struct bnxt_qplib_cq *cq);
1ac5a404 Selvin Xavier 2017-02-10  424  	int				(*srqn_handler)
1ac5a404 Selvin Xavier 2017-02-10  425  						(struct bnxt_qplib_nq *nq,
1ac5a404 Selvin Xavier 2017-02-10  426  						 void *srq,
1ac5a404 Selvin Xavier 2017-02-10  427  						 u8 event);
f218d67e Selvin Xavier 2017-06-29  428  	struct workqueue_struct         *cqn_wq;
8455dd37 Selvin Xavier 2017-08-01  429  	char                            name[32];
f218d67e Selvin Xavier 2017-06-29  430  };
f218d67e Selvin Xavier 2017-06-29  431  

:::::: The code at line 413 was first introduced by commit
:::::: 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 RDMA/bnxt_re: Add bnxt_re RoCE driver

:::::: TO: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx>
:::::: CC: Doug Ledford <dledford@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]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux