Re: [PATCH v2][next] cxgb4: Avoid a -Wflex-array-member-not-at-end warning
From: patchwork-bot+netdevbpf
Date: Wed Feb 05 2025 - 21:30:19 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 4 Feb 2025 13:24:31 +1030 you wrote:
> -Wflex-array-member-not-at-end was introduced in GCC-14, and we are
> getting ready to enable it, globally.
>
> Move the conflicting declaration to the end of the structure. Notice
> that `struct ethtool_dump` is a flexible structure --a structure that
> contains a flexible-array member.
>
> [...]
Here is the summary with links:
- [v2,next] cxgb4: Avoid a -Wflex-array-member-not-at-end warning
https://git.kernel.org/netdev/net-next/c/863257c29fe9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html