[PATCH net v2] net: stmmac: fix uninitialized axi_blen array

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sun Nov 29 19:50:16 PST 2026


Hello:

This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb at google.com>:

On Tue, 24 Nov 2026 23:01:44 +0800 you wrote:
> If platform doesn't provide "snps,blen" property, the axi_blen[] array
> will contain random value from stack, then the array will be converted
> to mask which will be written to DMA_AXI_BUS_MODE reg later. Fix it by
> initializing the array.
> 
> Fixes: efd3c8cc52bb ("net: stmmac: remove axi_blen array")
> Signed-off-by: Jisheng Zhang <jszhang at kernel.org>
> 
> [...]

Here is the summary with links:
  - [net,v2] net: stmmac: fix uninitialized axi_blen array
    https://git.kernel.org/netdev/net/c/771beab0f220

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