[PATCH net-next] net: stmmac: always allocate mac_device_info
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Nov 13 08:10:09 PST 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni at redhat.com>:
On Tue, 11 Nov 2025 11:26:44 +0000 you wrote:
> The ->setup() method implemented by dwmac-loongson and dwmac-sun8i
> allocate the mac_device_info structure, as does stmmac_hwif_init().
> This makes no sense.
>
> Have stmmac_hwif_init() always allocate this structure, and pass it to
> the ->setup() method to initialise when it is provided. Rename this
> method to "mac_setup" to more accurately describe what it is doing.
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: always allocate mac_device_info
https://git.kernel.org/netdev/net-next/c/f694d215d340
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list