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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 4 Nov 2016 10:13:55 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Tom Lendacky <thomas.lendacky@....com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org,
        Florian Fainelli <f.fainelli@...il.com>,
        David Miller <davem@...emloft.net>
Subject: Re: [PATCH net-next v1 18/21] net: phy: expose phy_aneg_done API for
 use by drivers

Hi Tom,

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

url:    https://github.com/0day-ci/linux/commits/Tom-Lendacky/amd-xgbe-AMD-XGBE-driver-updates-2016-11-01/20161103-222344
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=sparc 

All errors (new ones prefixed by >>):

>> drivers/net/ethernet/aeroflex/greth.c:1293:19: error: static declaration of 'phy_aneg_done' follows non-static declaration
    static inline int phy_aneg_done(struct phy_device *phydev)
                      ^~~~~~~~~~~~~
   In file included from include/net/dsa.h:19:0,
                    from include/linux/netdevice.h:44,
                    from drivers/net/ethernet/aeroflex/greth.c:29:
   include/linux/phy.h:789:5: note: previous declaration of 'phy_aneg_done' was here
    int phy_aneg_done(struct phy_device *phydev);
        ^~~~~~~~~~~~~

vim +/phy_aneg_done +1293 drivers/net/ethernet/aeroflex/greth.c

d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1287  	greth->speed = 0;
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1288  	greth->duplex = -1;
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1289  
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1290  	return 0;
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1291  }
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1292  
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15 @1293  static inline int phy_aneg_done(struct phy_device *phydev)
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1294  {
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1295  	int retval;
d4c41139 drivers/net/greth.c Kristoffer Glembo 2010-02-15  1296  

:::::: The code at line 1293 was first introduced by commit
:::::: d4c41139df6e74c6fff0cbac43e51cab782133be net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver

:::::: TO: Kristoffer Glembo <kristoffer@...sler.com>
:::::: CC: David S. Miller <davem@...emloft.net>

---
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" (48073 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ