tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 4567d686f5c6d955e57a3afa1741944c1e7f4033 commit: 96fe11f27b70f6b64f62a2d13ed209aa02e02a48 [177/195] cxgb4: Implement ndo_get_phys_port_id for mgmt dev config: x86_64-randconfig-a0-01200234 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: git checkout 96fe11f27b70f6b64f62a2d13ed209aa02e02a48 # 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:4646: warning: unused
>> variable 'port_vec'
>> drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:4646: warning: unused
>> variable 'v'
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function
'cxgb_select_queue':
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:923: warning: 'vlan_tci' may
be used uninitialized in this function
At top level:
cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized"
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o: warning: objtool:
__skb_put()+0x65: function has unreachable instruction
vim +/port_vec +4646 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
4630 fill_vf_station_mac_addr(adap);
4631 return num_vfs;
4632 }
4633 #endif
4634
4635 static int init_one(struct pci_dev *pdev, const struct pci_device_id
*ent)
4636 {
4637 int func, i, err, s_qpp, qpp, num_seg;
4638 struct port_info *pi;
4639 bool highdma = false;
4640 struct adapter *adapter = NULL;
4641 struct net_device *netdev;
4642 void __iomem *regs;
4643 u32 whoami, pl_rev;
4644 enum chip_type chip;
4645 static int adap_idx = 1;
> 4646 u32 v, port_vec;
4647
4648 printk_once(KERN_INFO "%s - version %s\n", DRV_DESC,
DRV_VERSION);
4649
4650 err = pci_request_regions(pdev, KBUILD_MODNAME);
4651 if (err) {
4652 /* Just info, some other driver may have claimed the
device. */
4653 dev_info(&pdev->dev, "cannot obtain PCI resources\n");
4654 return err;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
