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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 23 Jan 2017 12:02:27 +0800
From:   kbuild test robot <>
To:     Jingju Hou <>
        Jingju Hou <>
Subject: Re: [PATCHv2 net-next] net: mvneta: implement .set_wol and .get_wol

Hi Jingju,

[auto build test ERROR on net-next/master]

config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/marvell/mvneta.c: In function 'mvneta_ethtool_get_wol':
>> drivers/net/ethernet/marvell/mvneta.c:3938:9: error: 'struct net_device' has no member named 'phy_dev'; did you mean 'phydev'?
     if (dev->phy_dev)
   drivers/net/ethernet/marvell/mvneta.c:3939:33: error: 'struct net_device' has no member named 'phy_dev'; did you mean 'phydev'?
      return phy_ethtool_get_wol(dev->phy_dev, wol);
   drivers/net/ethernet/marvell/mvneta.c:3939:10: warning: 'return' with a value, in function returning void
      return phy_ethtool_get_wol(dev->phy_dev, wol);
   drivers/net/ethernet/marvell/mvneta.c:3933:1: note: declared here
    mvneta_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
   drivers/net/ethernet/marvell/mvneta.c: In function 'mvneta_ethtool_set_wol':
   drivers/net/ethernet/marvell/mvneta.c:3945:10: error: 'struct net_device' has no member named 'phy_dev'; did you mean 'phydev'?
     if (!dev->phy_dev)
   drivers/net/ethernet/marvell/mvneta.c:3948:32: error: 'struct net_device' has no member named 'phy_dev'; did you mean 'phydev'?
     return phy_ethtool_set_wol(dev->phy_dev, wol);
   drivers/net/ethernet/marvell/mvneta.c:3949:1: warning: control reaches end of non-void function [-Wreturn-type]

vim +3938 drivers/net/ethernet/marvell/mvneta.c

  3932	static void
  3933	mvneta_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
  3934	{
  3935		wol->supported = 0;
  3936		wol->wolopts = 0;
> 3938		if (dev->phy_dev)
  3939			return phy_ethtool_get_wol(dev->phy_dev, wol);
  3940	}

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (45821 bytes)

Powered by blists - more mailing lists