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

From: Maxime Chevallier

Date: Mon Nov 23 2026 - 08:56:20 EST


Hi Jisheng,

On 11/23/26 14:13, Jisheng Zhang wrote:
> If platform doesn't provide a valid "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.

Please take a look at https://docs.kernel.org/process/maintainer-netdev.html,
on netdev@ you need to indicate which tree you're targetting (net vs net-next)
in the patch topic. There's the same issue with the dwmac-syna glue submission.

Otherwise looks good, I'll review the resend. (also note you need to wait 24h
before resend :) )

Maxime