lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201702161137.aSVuQGHW%fengguang.wu@intel.com>
Date:   Thu, 16 Feb 2017 11:57:19 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Joao Pinto <Joao.Pinto@...opsys.com>
Cc:     kbuild-all@...org, davem@...emloft.net, peppe.cavallaro@...com,
        alexandre.torgue@...com, netdev@...r.kernel.org,
        Joao Pinto <Joao.Pinto@...opsys.com>
Subject: Re: [PATCH 1/3] net: stmicro: prepare dwmac4 core for mtl

Hi Joao,

[auto build test WARNING on net-next/master]
[also build test WARNING on next-20170215]
[cannot apply to v4.10-rc8]
[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/Joao-Pinto/add-support-for-multiple-queues-channels-in-stmmac/20170215-024621
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
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=openrisc 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function 'stmmac_set_pauseparam':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:505:6: warning: unused variable 'queue'
   drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function 'stmmac_get_ethtool_stats':
   drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:539:13: warning: 'j' may be used uninitialized in this function

vim +/queue +505 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c

   489	
   490		if (priv->flow_ctrl & FLOW_RX)
   491			pause->rx_pause = 1;
   492		if (priv->flow_ctrl & FLOW_TX)
   493			pause->tx_pause = 1;
   494	
   495	}
   496	
   497	static int
   498	stmmac_set_pauseparam(struct net_device *netdev,
   499			      struct ethtool_pauseparam *pause)
   500	{
   501		struct stmmac_priv *priv = netdev_priv(netdev);
   502		u32 tx_queues_count = priv->dma_cap.number_tx_queues;
   503		struct phy_device *phy = netdev->phydev;
   504		int new_pause = FLOW_OFF;
 > 505		u32 queue = 0;
   506	
   507		if (priv->hw->pcs && priv->hw->mac->pcs_get_adv_lp) {
   508			struct rgmii_adv adv_lp;
   509	
   510			pause->autoneg = 1;
   511			priv->hw->mac->pcs_get_adv_lp(priv->ioaddr, &adv_lp);
   512			if (!adv_lp.pause)
   513				return -EOPNOTSUPP;

---
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/gzip" (40219 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ