Skip to content

i40e: Replace one-element arrays with flexible-array members

Gustavo A. R. Silva intel-wired-lan linux-hardening lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4i40e: Replace one-element array with flex-array member in struct i40e_package_headerdrivers/net/ethernet/intel/i40e/i40e_ddp.c drivers/net/ethernet/intel/i40e/i40e_type.h+3 -32 replies
2/4i40e: Replace one-element array with flex-array member in struct i40e_profile_segmentdrivers/net/ethernet/intel/i40e/i40e_type.h+1 -15 replies
3/4i40e: Replace one-element array with flex-array member in struct i40e_section_tabledrivers/net/ethernet/intel/i40e/i40e_type.h+1 -12 replies
4/4i40e: Replace one-element array with flex-array member in struct i40e_profile_aq_sectiondrivers/net/ethernet/intel/i40e/i40e_type.h+1 -12 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchSimon HormanPucha Himasekhar ReddyJustin Stitt
1/4T-b
2/4R-b T-b T-b R-b
3/4R-b T-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4][next] i40e: Replace one-element arrays with flexible-array members

Replace one-element arrays with flexible-array members in multiple structures.

This results in no differences in binary output.

Gustavo A. R. Silva (4):
i40e: Replace one-element array with flex-array member in struct
i40e_package_header
i40e: Replace one-element array with flex-array member in struct
i40e_profile_segment
i40e: Replace one-element array with flex-array member in struct
i40e_section_table
i40e: Replace one-element array with flex-array member in struct
i40e_profile_aq_section

 drivers/net/ethernet/intel/i40e/i40e_ddp.c  | 4 ++--
 drivers/net/ethernet/intel/i40e/i40e_type.h | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1