Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1520707
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: stmmac: Add support for ethtool::nway_reset |
| Date | 2016-11-13 23:20 +0100 |
| Message-ID | <sDbi2-6pp-9@gated-at.bofh.it> (permalink) |
| References | <sDavE-5Ow-75@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Florian,
[auto build test WARNING on net-next/master]
[also build test WARNING on next-20161111]
[cannot apply to v4.9-rc5]
[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/Florian-Fainelli/net-stmmac-Add-support-for-ethtool-nway_reset/20161114-053015
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function 'stmmac_nway_reset':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:867:22: warning: unused variable 'priv' [-Wunused-variable]
struct stmmac_priv *priv = netdev_priv(dev);
^~~~
vim +/priv +867 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
851 int ret = 0;
852
853 switch (tuna->id) {
854 case ETHTOOL_RX_COPYBREAK:
855 priv->rx_copybreak = *(u32 *)data;
856 break;
857 default:
858 ret = -EINVAL;
859 break;
860 }
861
862 return ret;
863 }
864
865 static int stmmac_nway_reset(struct net_device *dev)
866 {
> 867 struct stmmac_priv *priv = netdev_priv(dev);
868
869 if (!dev->phydev)
870 return -ENODEV;
871
872 return genphy_restart_aneg(dev->phydev);
873 }
874
875 static const struct ethtool_ops stmmac_ethtool_ops = {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: stmmac: Add support for ethtool::nway_reset Florian Fainelli <f.fainelli@gmail.com> - 2016-11-13 22:30 +0100
Re: [PATCH] net: stmmac: Add support for ethtool::nway_reset Florian Fainelli <f.fainelli@gmail.com> - 2016-11-13 22:40 +0100
Re: [PATCH] net: stmmac: Add support for ethtool::nway_reset David Miller <davem@davemloft.net> - 2016-11-14 22:40 +0100
Re: [PATCH] net: stmmac: Add support for ethtool::nway_reset kbuild test robot <lkp@intel.com> - 2016-11-13 23:20 +0100
csiph-web