Re: [PATCH v2][next] sched: act_ct: avoid -Wflex-array-member-not-at-end warning
From: patchwork-bot+netdevbpf
Date: Mon Aug 12 2024 - 22:10:57 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 9 Aug 2024 09:22:12 -0600 you wrote:
> -Wflex-array-member-not-at-end was introduced in GCC-14, and we are
> getting ready to enable it, globally.
>
> Remove unnecessary flex-array member `pad[]` and refactor the related
> code a bit.
>
> Fix the following warning:
> net/sched/act_ct.c:57:29: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
>
> [...]
Here is the summary with links:
- [v2,next] sched: act_ct: avoid -Wflex-array-member-not-at-end warning
https://git.kernel.org/netdev/net-next/c/e2d0fadd703c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html