Netdev List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Michal Kalderon <michal.kalderon@cavium.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	Denis Bolotin <denis.bolotin@cavium.com>
Subject: [net:master 25/27] drivers/net/ethernet/qlogic/qed/qed_rdma.h:186:79: error: expected ';' before '}' token
Date: Wed, 14 Nov 2018 21:16:56 +0800	[thread overview]
Message-ID: <201811142152.W5QVhDmV%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1849 bytes --]

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 66006 bytes --]

                 reply	other threads:[~2018-11-14 23:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201811142152.W5QVhDmV%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=denis.bolotin@cavium.com \
    --cc=kbuild-all@01.org \
    --cc=michal.kalderon@cavium.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox