diff mbox series

Documentation: mdio_bus.c - fix warnings

Message ID 20200406212920.20229-1-l.rubusch@gmail.com
State Accepted
Delegated to: David Miller
Headers show
Series Documentation: mdio_bus.c - fix warnings | expand

Commit Message

Lothar Rubusch April 6, 2020, 9:29 p.m. UTC
Fix wrong parameter description and related warnings at 'make htmldocs'.

Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
---
 drivers/net/phy/mdio_bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Fainelli April 6, 2020, 9:54 p.m. UTC | #1
On 4/6/2020 2:29 PM, Lothar Rubusch wrote:
> Fix wrong parameter description and related warnings at 'make htmldocs'.
> 
> Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Randy Dunlap April 7, 2020, 11:07 p.m. UTC | #2
On 4/6/20 2:29 PM, Lothar Rubusch wrote:
> Fix wrong parameter description and related warnings at 'make htmldocs'.
> 
> Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  drivers/net/phy/mdio_bus.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
> index 522760c8bca6..7a4eb3f2cb74 100644
> --- a/drivers/net/phy/mdio_bus.c
> +++ b/drivers/net/phy/mdio_bus.c
> @@ -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.
David Miller April 8, 2020, 1:35 a.m. UTC | #3
From: Lothar Rubusch <l.rubusch@gmail.com>
Date: Mon,  6 Apr 2020 21:29:20 +0000

> Fix wrong parameter description and related warnings at 'make htmldocs'.
> 
> Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>

Applied.
diff mbox series

Patch

diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
index 522760c8bca6..7a4eb3f2cb74 100644
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -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,