[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175642562124.1653564.9988378849956987814.git-patchwork-notify@kernel.org>
Date: Fri, 29 Aug 2025 00:00:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
Cc: andrew@...n.ch, hkallweit1@...il.com, alexandre.torgue@...s.st.com,
andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com, mcoquelin.stm32@...il.com,
netdev@...r.kernel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next] net: stmmac: mdio: use netdev_priv() directly
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 27 Aug 2025 09:41:48 +0100 you wrote:
> netdev_priv() is an inline function, taking a struct net_device
> pointer. When passing in the MII bus->priv, which is a void pointer,
> there is no need to go via a local ndev variable to type it first.
>
> Thus, instead of:
>
> struct net_device *ndev = bus->priv;
> struct stmmac_priv *priv;
> ...
> priv = netdev_priv(ndev);
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: mdio: use netdev_priv() directly
https://git.kernel.org/netdev/net-next/c/bafdd920a060
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists