Re: [PATCH V2 2/2] qedf: Add QLogic FastLinQ offload FCoE driver framework.

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

 



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: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux