Skip to contentSkip to conversation

Documentation: mdio_bus.c - fix warnings

PATCH Applied Lothar Rubusch 4 participants 4 messages Apr 6, 2020 – Apr 8, 2020

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

PATCH 1/1 Documentation: mdio_bus.c - fix warnings

Fix wrong parameter description and related warnings at 'make htmldocs'.

---
 drivers/net/phy/mdio_bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/mdio_bus.c +1 -1
index 522760c8bca6..7a4eb3f2cb74 100644
@@ -464,7 +464,7 @@ static struct class mdio_bus_class = {
 
 /**
  * mdio_find_bus - Given the name of a mdiobus, find the mii_bus.
- * @mdio_bus_np: Pointer to the mii_bus.
+ * @mdio_name: The name of a mdiobus.
  *
  * Returns a reference to the mii_bus, or NULL if none found.  The
  * embedded struct device will have its reference count incremented,
Signature · 1 line
2.20.1
Acked-by Tested-by on v1 1/1
#2 lore raw
In reply to Lothar Rubusch
Quoted 3 lines · Lothar Rubusch

Fix wrong parameter description and related warnings at 'make htmldocs'.

Quoted 10 lines
---
 drivers/net/phy/mdio_bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/mdio_bus.c +0 -0
index 522760c8bca6..7a4eb3f2cb74 100644

drivers/net/phy/mdio_bus.c static struct class mdio_bus_class = { · line 470

Quoted 8 lines
drivers/net/phy/mdio_bus.c +1 -1
@@ -464,7 +464,7 @@ static struct class mdio_bus_class = {
 
 /**
  * mdio_find_bus - Given the name of a mdiobus, find the mii_bus.
- * @mdio_bus_np: Pointer to the mii_bus.
+ * @mdio_name: The name of a mdiobus.
  *
  * Returns a reference to the mii_bus, or NULL if none found.  The
  * embedded struct device will have its reference count incremented,

thanks.

Signature · 1 line
~Randy