[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175244280602.2861491.4513725766921457476.git-patchwork-notify@kernel.org>
Date: Sun, 13 Jul 2025 21:40:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: chester.a.unal@...nc9.com, daniel@...rotopia.org, dqfext@...il.com,
sean.wang@...iatek.com, andrew@...n.ch, olteanv@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
matthias.bgg@...il.com, angelogioacchino.delregno@...labora.com,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH net-next] net: dsa: mt7530: Constify struct regmap_config
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
On Sun, 13 Jul 2025 17:09:24 +0200 you wrote:
> 'struct regmap_config' are not modified in these drivers. They be
> statically defined instead of allocated and populated at run-time.
>
> The main benefits are:
> - it saves some memory at runtime
> - the structures can be declared as 'const', which is always better for
> structures that hold some function pointers
> - the code is less verbose
>
> [...]
Here is the summary with links:
- [net-next] net: dsa: mt7530: Constify struct regmap_config
https://git.kernel.org/netdev/net-next/c/9eb73f92a0b0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists