Skip to content

UAPI: net/sched - cxgb4: Fix -Wflex-array-member-not-at-end warning

Gustavo A. R. Silva linux-hardening lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2UAPI: net/sched: Use __struct_group() in flex struct tc_u32_selinclude/uapi/linux/pkt_cls.h+13 -100 repliesApplied
2/2cxgb4: Avoid -Wflex-array-member-not-at-end warningdrivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h+1 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1