mbox series

[0/2,next] UAPI: net/sched - cxgb4: Fix -Wflex-array-member-not-at-end warning

Message ID cover.1723586870.git.gustavoars@kernel.org (mailing list archive)
Headers show
Series UAPI: net/sched - cxgb4: Fix -Wflex-array-member-not-at-end warning | expand

Message

Gustavo A. R. Silva Aug. 13, 2024, 10:13 p.m. UTC
Small patch series aimed at fixing a -Wflex-array-member-not-at-end
warning by creating a new tagged struct within a flexible structure.
We then use this new struct type to fix a problematic middle-flex-array
declaration in a composite struct.

Gustavo A. R. Silva (2):
  UAPI: net/sched: Use __struct_group() in flex struct tc_u32_sel
  cxgb4: Avoid -Wflex-array-member-not-at-end warning

 .../chelsio/cxgb4/cxgb4_tc_u32_parse.h        |  2 +-
 include/uapi/linux/pkt_cls.h                  | 23 +++++++++++--------
 2 files changed, 14 insertions(+), 11 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 15, 2024, 3:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 13 Aug 2024 16:13:58 -0600 you wrote:
> Small patch series aimed at fixing a -Wflex-array-member-not-at-end
> warning by creating a new tagged struct within a flexible structure.
> We then use this new struct type to fix a problematic middle-flex-array
> declaration in a composite struct.
> 
> Gustavo A. R. Silva (2):
>   UAPI: net/sched: Use __struct_group() in flex struct tc_u32_sel
>   cxgb4: Avoid -Wflex-array-member-not-at-end warning
> 
> [...]

Here is the summary with links:
  - [1/2,next] UAPI: net/sched: Use __struct_group() in flex struct tc_u32_sel
    https://git.kernel.org/netdev/net-next/c/216203bdc228
  - [2/2,next] cxgb4: Avoid -Wflex-array-member-not-at-end warning
    https://git.kernel.org/netdev/net-next/c/6c5cdabb3ec3

You are awesome, thank you!