Re: [PATCH net] net: dqs: Do not use extern for unused dql_group

patchwork-bot+netdevbpf
2024-09-03T20:10:30Z

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 2 Sep 2024 03:17:30 -0700 you wrote:
> When CONFIG_DQL is not enabled, dql_group should be treated as a dead
> declaration. However, its current extern declaration assumes the linker
> will ignore it, which is generally true across most compiler and
> architecture combinations.
>
> But in certain cases, the linker still attempts to resolve the extern
> struct, even when the associated code is dead, resulting in a linking
> error. For instance the following error in loongarch64:
>
> [...]

Here is the summary with links:
- [net] net: dqs: Do not use extern for unused dql_group
https://git.kernel.org/netdev/net/c/77461c108191

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.