tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master
head:   db8ddde766adf09605b5282e7978fa0ba76c3ee3
commit: 291d57f67d2449737d1e370ab5b9a583818eaa0c [25/27] qed: Fix rdma_info 
structure allocation
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 291d57f67d2449737d1e370ab5b9a583818eaa0c
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/qlogic/qed/qed_cxt.c:49:0:
   drivers/net/ethernet/qlogic/qed/qed_rdma.h: In function 
'qed_rdma_info_alloc':
>> drivers/net/ethernet/qlogic/qed/qed_rdma.h:186:79: error: expected ';' 
>> before '}' token
    static inline int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn) {return 
-EINVAL}
                                                                                
  ^

vim +186 drivers/net/ethernet/qlogic/qed/qed_rdma.h

   176  
   177  #if IS_ENABLED(CONFIG_QED_RDMA)
   178  void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
   179  void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
   180  int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn);
   181  void qed_rdma_info_free(struct qed_hwfn *p_hwfn);
   182  #else
   183  static inline void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct 
qed_ptt *p_ptt) {}
   184  static inline void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn,
   185                                      struct qed_ptt *p_ptt) {}
 > 186  static inline int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn) {return 
 > -EINVAL}
   187  static inline void qed_rdma_info_free(struct qed_hwfn *p_hwfn) {}
   188  #endif
   189  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to