* [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case
@ 2021-06-24 0:51 Marcin Wojtas
2021-06-24 16:14 ` Andrew Lunn
2021-06-24 18:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Marcin Wojtas @ 2021-06-24 0:51 UTC (permalink / raw)
To: linux-kernel, netdev
Cc: davem, kuba, linux, jon, tn, jaz, hkallweit1, andrew, Marcin Wojtas
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 <mw@semihalf.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case
2021-06-24 0:51 [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case Marcin Wojtas
@ 2021-06-24 16:14 ` Andrew Lunn
2021-06-24 18:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2021-06-24 16:14 UTC (permalink / raw)
To: Marcin Wojtas
Cc: linux-kernel, netdev, davem, kuba, linux, jon, tn, jaz, hkallweit1
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 <mw@semihalf.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case
2021-06-24 0:51 [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case Marcin Wojtas
2021-06-24 16:14 ` Andrew Lunn
@ 2021-06-24 18:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-24 18:40 UTC (permalink / raw)
To: Marcin Wojtas
Cc: linux-kernel, netdev, davem, kuba, linux, jon, tn, jaz,
hkallweit1, andrew
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 <mw@semihalf.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-24 18:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 0:51 [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case Marcin Wojtas
2021-06-24 16:14 ` Andrew Lunn
2021-06-24 18:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).