[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201608112034.4GeWrYW4%fengguang.wu@intel.com>
Date: Thu, 11 Aug 2016 20:24:38 +0800
From: kbuild test robot <lkp@...el.com>
To: Hariprasad Shenai <hariprasad@...lsio.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
leedom@...lsio.com, nirranjan@...lsio.com,
Hariprasad Shenai <hariprasad@...lsio.com>
Subject: Re: [PATCHv4 net-next 1/2] cxgb4: Add control net_device for
configuring PCIe VF
Hi Hariprasad,
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Hariprasad-Shenai/Add-support-for-IFLA_VF_MAC/20160811-193707
config: x86_64-acpi-redef (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function 'init_one':
>> drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:4916:7: warning: unused variable 'name' [-Wunused-variable]
char name[IFNAMSIZ];
^~~~
vim +/name +4916 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
4900 err = register_netdev(adap->port[0]);
4901 if (err < 0)
4902 pr_info("Unable to register VF mgmt netdev\n");
4903 }
4904 }
4905 return num_vfs;
4906 }
4907 #endif
4908
4909 static int init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
4910 {
4911 int func, i, err, s_qpp, qpp, num_seg;
4912 struct port_info *pi;
4913 bool highdma = false;
4914 struct adapter *adapter = NULL;
4915 struct net_device *netdev;
> 4916 char name[IFNAMSIZ];
4917 void __iomem *regs;
4918 u32 whoami, pl_rev;
4919 enum chip_type chip;
4920 static int adap_idx = 1;
4921
4922 printk_once(KERN_INFO "%s - version %s\n", DRV_DESC, DRV_VERSION);
4923
4924 err = pci_request_regions(pdev, KBUILD_MODNAME);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (28417 bytes)
Powered by blists - more mailing lists