[net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case

Subsystems: ethernet phy library, the rest

STALE1878d

3 messages, 3 authors, 2021-06-24 · open the first message on its own page

[net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case

From: Marcin Wojtas <hidden>
Date: 2021-06-24 00:53:16

The fallback case of fwnode_mdbiobus_register()
(relevant for !CONFIG_FWNODE_MDIO) was defined with wrong
argument name, causing a compilation error. Fix that.

Signed-off-by: Marcin Wojtas <redacted>
---
 include/linux/fwnode_mdio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/fwnode_mdio.h b/include/linux/fwnode_mdio.h
index 13d4ae8fee0a..f62817c23137 100644
--- a/include/linux/fwnode_mdio.h
+++ b/include/linux/fwnode_mdio.h
@@ -40,7 +40,7 @@ static inline int fwnode_mdiobus_register(struct mii_bus *bus,
 	 * This way, we don't have to keep compat bits around in drivers.
 	 */
 
-	return mdiobus_register(mdio);
+	return mdiobus_register(bus);
 }
 #endif
 
-- 
2.29.0

Re: [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-06-24 16:14:36

On Thu, Jun 24, 2021 at 02:51:51AM +0200, Marcin Wojtas wrote:
The fallback case of fwnode_mdbiobus_register()
(relevant for !CONFIG_FWNODE_MDIO) was defined with wrong
argument name, causing a compilation error. Fix that.

Signed-off-by: Marcin Wojtas <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

Re: [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-24 18:40:15

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Thu, 24 Jun 2021 02:51:51 +0200 you wrote:
The fallback case of fwnode_mdbiobus_register()
(relevant for !CONFIG_FWNODE_MDIO) was defined with wrong
argument name, causing a compilation error. Fix that.

Signed-off-by: Marcin Wojtas <redacted>
---
 include/linux/fwnode_mdio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
  - [net-next:] net: mdiobus: fix fwnode_mdbiobus_register() fallback case
    https://git.kernel.org/netdev/net-next/c/c88c192dc3ea

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help