Netdev List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Dupuis, Chad" <chad.dupuis@cavium.com>
Cc: kbuild-all@01.org, martin.petersen@oracle.com,
	linux-scsi@vger.kernel.org, fcoe-devel@open-fcoe.org,
	netdev@vger.kernel.org, yuval.mintz@cavium.com,
	QLogic-Storage-Upstream@cavium.com
Subject: Re: [PATCH 1/2] qed: Add support for hardware offloaded FCoE.
Date: Sun, 22 Jan 2017 09:24:28 +0800	[thread overview]
Message-ID: <201701220945.sKISOe6x%fengguang.wu@intel.com> (raw)
In-Reply-To: <1484596437-27637-2-git-send-email-chad.dupuis@cavium.com>

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

Hi Arun,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.10-rc4 next-20170120]
[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/Dupuis-Chad/Add-QLogic-FastLinQ-FCoE-qedf-driver/20170117-052438
config: i386-randconfig-x0-01220741 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # 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.h:49:0,
                    from drivers/net/ethernet/qlogic/qed/qed_dcbx.c:41:
   include/linux/qed/qed_if.h:428:37: warning: 'struct qed_dcbx_get' declared inside parameter list will not be visible outside of this definition or declaration
     void (*dcbx_aen)(void *dev, struct qed_dcbx_get *get, u32 mib_type);
                                        ^~~~~~~~~~~~
   drivers/net/ethernet/qlogic/qed/qed_dcbx.c: In function 'qed_dcbx_aen':
>> drivers/net/ethernet/qlogic/qed/qed_dcbx.c:873:42: error: 'struct qed_dcbx_info' has no member named 'get'
      op->dcbx_aen(cookie, &hwfn->p_dcbx_info->get, mib_type);
                                             ^~
   drivers/net/ethernet/qlogic/qed/qed_dcbx.c: In function 'qed_dcbx_mib_update_event':
>> drivers/net/ethernet/qlogic/qed/qed_dcbx.c:902:2: error: implicit declaration of function 'qed_dcbx_get_params' [-Werror=implicit-function-declaration]
     qed_dcbx_get_params(p_hwfn, p_ptt, &p_hwfn->p_dcbx_info->get, type);
     ^~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/qlogic/qed/qed_dcbx.c:902:57: error: 'struct qed_dcbx_info' has no member named 'get'
     qed_dcbx_get_params(p_hwfn, p_ptt, &p_hwfn->p_dcbx_info->get, type);
                                                            ^~
   cc1: some warnings being treated as errors

vim +873 drivers/net/ethernet/qlogic/qed/qed_dcbx.c

   867	void qed_dcbx_aen(struct qed_hwfn *hwfn, u32 mib_type)
   868	{
   869		struct qed_common_cb_ops *op = hwfn->cdev->protocol_ops.common;
   870		void *cookie = hwfn->cdev->ops_cookie;
   871	
   872		if (cookie && op->dcbx_aen)
 > 873			op->dcbx_aen(cookie, &hwfn->p_dcbx_info->get, mib_type);
   874	}
   875	
   876	/* Read updated MIB.
   877	 * Reconfigure QM and invoke PF update ramrod command if operational MIB
   878	 * change is detected.
   879	 */
   880	int
   881	qed_dcbx_mib_update_event(struct qed_hwfn *p_hwfn,
   882				  struct qed_ptt *p_ptt, enum qed_mib_read_type type)
   883	{
   884		int rc = 0;
   885	
   886		rc = qed_dcbx_read_mib(p_hwfn, p_ptt, type);
   887		if (rc)
   888			return rc;
   889	
   890		if (type == QED_DCBX_OPERATIONAL_MIB) {
   891			rc = qed_dcbx_process_mib_info(p_hwfn);
   892			if (!rc) {
   893				/* reconfigure tcs of QM queues according
   894				 * to negotiation results
   895				 */
   896				qed_qm_reconf(p_hwfn, p_ptt);
   897	
   898				/* update storm FW with negotiation results */
   899				qed_sp_pf_update(p_hwfn);
   900			}
   901		}
 > 902		qed_dcbx_get_params(p_hwfn, p_ptt, &p_hwfn->p_dcbx_info->get, type);
   903		qed_dcbx_aen(p_hwfn, type);
   904	
   905		return rc;

---
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: 26973 bytes --]

  parent reply	other threads:[~2017-01-22  1:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 19:53 [PATCH 0/2] Add QLogic FastLinQ FCoE (qedf) driver Dupuis, Chad
2017-01-16 19:53 ` [PATCH 1/2] qed: Add support for hardware offloaded FCoE Dupuis, Chad
2017-01-16 21:47   ` Chad Dupuis
2017-01-16 21:56     ` David Miller
2017-01-17 14:35   ` kbuild test robot
2017-01-18 23:26     ` Arun Easi
     [not found]   ` <1484596437-27637-2-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2017-01-18 16:21     ` Hannes Reinecke
2017-01-22  1:24   ` kbuild test robot [this message]
     [not found] ` <1484596437-27637-1-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2017-01-16 19:53   ` [PATCH 2/2] qedf: Add QLogic FastLinQ offload FCoE driver framework Dupuis, Chad
     [not found]     ` <1484596437-27637-3-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2017-01-18 16:24       ` Hannes Reinecke

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=201701220945.sKISOe6x%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=QLogic-Storage-Upstream@cavium.com \
    --cc=chad.dupuis@cavium.com \
    --cc=fcoe-devel@open-fcoe.org \
    --cc=kbuild-all@01.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=netdev@vger.kernel.org \
    --cc=yuval.mintz@cavium.com \
    /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