Skip to contentSkip to conversation

kernel-doc: fix new warning in net/phy/mdio_bus.c

PATCH Applied Randy Dunlap 2 participants 2 messages Jan 21, 2012 – Jan 22, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 9/14 kernel-doc: fix new warning in net/phy/mdio_bus.c

From: Randy Dunlap <[email protected]>

Fix new kernel-doc warning:

Warning(drivers/net/phy/mdio_bus.c:49): No description found for parameter 'size'

---
 drivers/net/phy/mdio_bus.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/net/phy/mdio_bus.c +2 -3
@@ -38,12 +38,11 @@
 
 /**
  * mdiobus_alloc_size - allocate a mii_bus structure
+ * @size: extra amount of memory to allocate for private storage.
+ * If non-zero, then bus->priv is points to that memory.
  *
  * Description: called by a bus driver to allocate an mii_bus
  * structure to fill in.
- *
- * 'size' is an an extra amount of memory to allocate for private storage.
- * If non-zero, then bus->priv is points to that memory.
  */
 struct mii_bus *mdiobus_alloc_size(size_t size)
 {