[PATCH net-next v3] net: sparx5: check DT port reg against chip port count

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon Nov 23 07:00:08 PST 2026


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni at redhat.com>:

On Wed, 18 Nov 2026 14:43:07 +0800 you wrote:
> From: Haoran Wang <wanghr2026 at mail.zgclab.edu.cn>
> 
> mchp_sparx5_probe() reads the DT ethernet-port 'reg' property into
> portno, which sparx5_create_port() later uses to index the fixed-size
> sparx5->ports[] array:
> 
>     sparx5->ports[config->portno] = spx5_port;
> 
> [...]

Here is the summary with links:
  - [net-next,v3] net: sparx5: check DT port reg against chip port count
    https://git.kernel.org/netdev/net-next/c/5a1f67933615

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