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-next>] [day] [month] [year] [list]
Message-ID: <201509251554.GLQ5oOz9%fengguang.wu@intel.com>
Date:	Fri, 25 Sep 2015 15:58:00 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Russell King <rmk+kernel@....linux.org.uk>
Cc:	kbuild-all@...org, netdev@...r.kernel.org
Subject: [net:master 114/121] drivers/net/phy/mdio_bus.c:248: warning: No
 description found for parameter 'owner'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master
head:   b626ef0128d254d33ee43c51d68f577bbec370ac
commit: 3e3aaf649416988ca8be4ad2c52dc24d8be7b46e [114/121] phy: fix mdiobus module safety
config: i386-allnoconfig (attached as .config)
reproduce:
  git checkout 3e3aaf649416988ca8be4ad2c52dc24d8be7b46e
  # save the attached .config to linux build tree
  make ARCH=i386 

All warnings (new ones prefixed by >>):

   include/linux/skbuff.h:833: warning: No description found for parameter 'sk'
   net/core/gen_stats.c:155: warning: No description found for parameter 'cpu'
   net/core/gen_estimator.c:212: warning: No description found for parameter 'cpu_bstats'
   net/core/gen_estimator.c:303: warning: No description found for parameter 'cpu_bstats'
   net/core/dev.c:2921: warning: No description found for parameter 'sk'
   net/core/dev.c:3986: warning: No description found for parameter 'sk'
   net/core/dev.c:6092: warning: No description found for parameter 'len'
   include/linux/netdevice.h:1289: warning: Enum value 'IFF_XMIT_DST_RELEASE_PERM' not described in enum 'netdev_priv_flags'
   include/linux/netdevice.h:1289: warning: Enum value 'IFF_IPVLAN_MASTER' not described in enum 'netdev_priv_flags'
   include/linux/netdevice.h:1289: warning: Enum value 'IFF_IPVLAN_SLAVE' not described in enum 'netdev_priv_flags'
   include/linux/netdevice.h:1788: warning: No description found for parameter 'ptype_all'
   include/linux/netdevice.h:1788: warning: No description found for parameter 'ptype_specific'
>> drivers/net/phy/mdio_bus.c:248: warning: No description found for parameter 'owner'
>> drivers/net/phy/mdio_bus.c:248: warning: No description found for parameter 'owner'

vim +/owner +248 drivers/net/phy/mdio_bus.c

d9daa247 Daniel Mack       2014-06-28  232  static inline void of_mdiobus_link_phydev(struct mii_bus *mdio,
d9daa247 Daniel Mack       2014-06-28  233  					  struct phy_device *phydev)
d9daa247 Daniel Mack       2014-06-28  234  {
d9daa247 Daniel Mack       2014-06-28  235  }
25106022 David Daney       2012-05-02  236  #endif
25106022 David Daney       2012-05-02  237  
46abc021 Lennert Buytenhek 2008-10-08  238  /**
b3df0da8 Randy Dunlap      2007-03-06  239   * mdiobus_register - bring up all the PHYs on a given bus and attach them to bus
b3df0da8 Randy Dunlap      2007-03-06  240   * @bus: target mii_bus
e1393456 Andy Fleming      2005-08-24  241   *
b3df0da8 Randy Dunlap      2007-03-06  242   * Description: Called by a bus driver to bring up all the PHYs
b3df0da8 Randy Dunlap      2007-03-06  243   *   on a given bus, and attach them to the bus.
b3df0da8 Randy Dunlap      2007-03-06  244   *
b3df0da8 Randy Dunlap      2007-03-06  245   * Returns 0 on success or < 0 on error.
e1393456 Andy Fleming      2005-08-24  246   */
3e3aaf64 Russell King      2015-09-24  247  int __mdiobus_register(struct mii_bus *bus, struct module *owner)
e1393456 Andy Fleming      2005-08-24 @248  {
161c8d2f Krzysztof Halasa  2008-12-25  249  	int i, err;
e1393456 Andy Fleming      2005-08-24  250  
e1393456 Andy Fleming      2005-08-24  251  	if (NULL == bus || NULL == bus->name ||
02d320c3 Sergei Shtylyov   2014-01-05  252  	    NULL == bus->read || NULL == bus->write)
e1393456 Andy Fleming      2005-08-24  253  		return -EINVAL;
e1393456 Andy Fleming      2005-08-24  254  
46abc021 Lennert Buytenhek 2008-10-08  255  	BUG_ON(bus->state != MDIOBUS_ALLOCATED &&
46abc021 Lennert Buytenhek 2008-10-08  256  	       bus->state != MDIOBUS_UNREGISTERED);

:::::: The code at line 248 was first introduced by commit
:::::: e13934563db047043ccead26412f552375cea90c [PATCH] PHY Layer fixup

:::::: TO: Andy Fleming <afleming@...escale.com>
:::::: CC: Jeff Garzik <jgarzik@...ox.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

View attachment ".config" of type "text/plain" (21796 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ