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 V2 2/2] qedf: Add QLogic FastLinQ offload FCoE driver framework.
Date: Thu, 26 Jan 2017 05:53:09 +0800	[thread overview]
Message-ID: <201701260553.5RoJcjln%fengguang.wu@intel.com> (raw)
In-Reply-To: <1485376423-18737-3-git-send-email-chad.dupuis@cavium.com>

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

Hi Chad,

[auto build test WARNING on net/master]
[also build test WARNING on v4.10-rc5 next-20170125]
[cannot apply to net-next/master]
[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/20170126-044037
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   drivers/scsi/qedf/qedf_main.c: In function '__qedf_probe.constprop':
>> drivers/scsi/qedf/qedf_main.c:2764:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int rc;
         ^~
   drivers/scsi/qedf/qedf_main.c: In function 'qedf_link_recovery':
>> drivers/scsi/qedf/qedf_main.c:286:24: warning: 'rdata' may be used uninitialized in this function [-Wmaybe-uninitialized]
     struct fc_rport_priv *rdata;
                           ^~~~~

vim +/rc +2764 drivers/scsi/qedf/qedf_main.c

  2748	static const struct pci_device_id qedf_pci_tbl[] = {
  2749		{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, 0x165c) },
  2750		{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, 0x8080) },
  2751		{0}
  2752	};
  2753	MODULE_DEVICE_TABLE(pci, qedf_pci_tbl);
  2754	
  2755	static struct pci_driver qedf_pci_driver = {
  2756		.name = QEDF_MODULE_NAME,
  2757		.id_table = qedf_pci_tbl,
  2758		.probe = qedf_probe,
  2759		.remove = qedf_remove,
  2760	};
  2761	
  2762	static int __qedf_probe(struct pci_dev *pdev, int mode)
  2763	{
> 2764		int rc;
  2765		struct fc_lport *lport;
  2766		struct qedf_ctx *qedf;
  2767		struct Scsi_Host *host;
  2768		bool is_vf = false;
  2769		struct qed_ll2_params params;
  2770		char host_buf[20];
  2771		struct qed_link_params link_params;
  2772		int status;

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

  reply	other threads:[~2017-01-25 21:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 20:33 [PATCH V2 0/2] Add QLogic FastLinQ FCoE (qedf) driver Dupuis, Chad
2017-01-25 20:33 ` [PATCH V2 net-next 1/2] qed: Add support for hardware offloaded FCoE Dupuis, Chad
     [not found]   ` <1485376423-18737-2-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2017-01-30  9:44     ` Hannes Reinecke
2017-01-30 18:53       ` Arun Easi
2017-01-25 20:33 ` [PATCH V2 2/2] qedf: Add QLogic FastLinQ offload FCoE driver framework Dupuis, Chad
2017-01-25 21:53   ` kbuild test robot [this message]
     [not found]   ` <1485376423-18737-3-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2017-01-30 10:34     ` Hannes Reinecke
     [not found]       ` <28df9087-4eaf-d72c-ccee-89408d3a1b32-l3A5Bk7waGM@public.gmane.org>
2017-01-31 17:08         ` Chad Dupuis
     [not found]           ` <alpine.OSX.2.00.1701311156290.1169-nVgGmETfwnIFUnR/tdpssI0aTaFgKE92ACYyPGjX6YU@public.gmane.org>
2017-02-01  7:59             ` Hannes Reinecke
2017-01-31 18:38       ` Chad Dupuis

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=201701260553.5RoJcjln%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