Re: [PATCH net] net: qede: Initialize qede_ll_ops with designated initializer

From: patchwork-bot+netdevbpf
Date: Thu May 08 2025 - 22:30:03 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 07 May 2025 21:47:45 +0100 you wrote:
> After a recent change [1] in clang's randstruct implementation to
> randomize structures that only contain function pointers, there is an
> error because qede_ll_ops get randomized but does not use a designated
> initializer for the first member:
>
> drivers/net/ethernet/qlogic/qede/qede_main.c:206:2: error: a randomized struct can only be initialized with a designated initializer
> 206 | {
> | ^
>
> [...]

Here is the summary with links:
- [net] net: qede: Initialize qede_ll_ops with designated initializer
https://git.kernel.org/netdev/net/c/6b3ab7f2cbfa

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html