Re: [PATCH v1 net-next] net: dsa: Use named initializers for struct i2c_device_id
From: patchwork-bot+netdevbpf
Date: Wed May 20 2026 - 22:15:17 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 19 May 2026 16:57:22 +0200 you wrote:
> While being less compact, using named initializers allows to more easily
> see which members of the structs are assigned which value without having
> to lookup the declaration of the struct. And it's also more robust
> against changes to the struct definition.
>
> This patch doesn't modify the compiled arrays, only their representation
> in source form benefits. The former was confirmed with x86 and arm64
> builds.
>
> [...]
Here is the summary with links:
- [v1,net-next] net: dsa: Use named initializers for struct i2c_device_id
https://git.kernel.org/netdev/net-next/c/af998e3688b7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html