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

From: Gustavo A. R. Silva
Date: Tue Aug 13 2024 - 18:14:17 EST


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(-)

--
2.34.1