diff mbox

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

Message ID 4F1B0BE8.9050403@xenotime.net
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Randy.Dunlap Jan. 21, 2012, 7:03 p.m. UTC
From: Randy Dunlap <rdunlap@xenotime.net>

Fix new kernel-doc warning:

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

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/net/phy/mdio_bus.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller Jan. 22, 2012, 7:25 p.m. UTC | #1
From: Randy Dunlap <rdunlap@xenotime.net>
Date: Sat, 21 Jan 2012 11:03:04 -0800

> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> Fix new kernel-doc warning:
> 
> Warning(drivers/net/phy/mdio_bus.c:49): No description found for parameter 'size'
> 
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- lnx-33-rc1.orig/drivers/net/phy/mdio_bus.c
+++ lnx-33-rc1/drivers/net/phy/mdio_bus.c
@@ -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)
 {