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