[PATCH net-next] net: stmmac: fix stmmac_simple_pm_ops build errors
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Aug 21 17:30:30 PDT 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Wed, 20 Aug 2025 15:30:40 +0100 you wrote:
> The kernel test robot reports that various drivers have an undefined
> reference to stmmac_simple_pm_ops. This is caused by
> EXPORT_SYMBOL_GPL_SIMPLE_DEV_PM_OPS() defining the struct as static
> and omitting the export when CONFIG_PM=n, unlike DEFINE_SIMPLE_PM_OPS()
> which still defines the struct non-static.
>
> Switch to using DEFINE_SIMPLE_PM_OPS() + EXPORT_SYMBOL_GPL(), which
> means we always define stmmac_simple_pm_ops, and it will always be
> visible for dwmac-* to reference whether modular or built-in.
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: fix stmmac_simple_pm_ops build errors
https://git.kernel.org/netdev/net-next/c/dac72136aa6b
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