Re: [PATCH net v5] net: txgbe: fix stack size for PHY interface mask
From: patchwork-bot+netdevbpf
Date: Mon Nov 23 2026 - 09:50:17 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Wed, 18 Nov 2026 01:55:28 +0800 you wrote:
> The DECLARE_PHY_INTERFACE_MASK_ZERO() macro currently defined in the
> txgbe driver incorrectly uses PHY_INTERFACE_MODE_MAX as the array
> length instead of BITS_TO_LONGS(). This allocates significantly more
> space on the stack than necessary.
>
> Since hiding the zero-initialization inside a macro is discouraged,
> drop the local macro entirely and use the standard
> DECLARE_PHY_INTERFACE_MASK() with explicit zero-initialization at the
> declaration site instead.
>
> [...]
Here is the summary with links:
- [net,v5] net: txgbe: fix stack size for PHY interface mask
https://git.kernel.org/netdev/net-next/c/60cf8fade566
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html