Skip to content

scsi: mpi3mr: Replace 1-element arrays with flexible arrays

Kees Cook linux-hardening linux-scsi lkml 1 version Applied

Status from this message: Applied to 6.12/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4scsi: mpi3mr: struct mpi3_event_data_sas_topology_change_list: Replace 1-element array with flexible arraydrivers/scsi/mpi3mr/mpi/mpi30_ioc.h+1 -41 reply
2/4scsi: mpi3mr: struct mpi3_event_data_pcie_topology_change_list: Replace 1-element array with flexible arraydrivers/scsi/mpi3mr/mpi/mpi30_ioc.h+1 -41 reply
3/4scsi: mpi3mr: struct mpi3_sas_io_unit_page0: Replace 1-element array with flexible arraydrivers/scsi/mpi3mr/mpi/mpi30_cnfg.h+1 -41 reply
4/4scsi: mpi3mr: struct mpi3_sas_io_unit_page1: Replace 1-element array with flexible arraydrivers/scsi/mpi3mr/mpi/mpi30_cnfg.h+1 -41 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchGustavo A. R. Silva
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] scsi: mpi3mr: Replace 1-element arrays with flexible arrays

Hi,

Replace all the uses of deprecated 1-element "fake" flexible arrays with modern C99 flexible arrays.

Thanks!

-Kees

Kees Cook (4):
scsi: mpi3mr: struct mpi3_event_data_sas_topology_change_list: Replace
1-element array with flexible array
scsi: mpi3mr: struct mpi3_event_data_pcie_topology_change_list:
Replace 1-element array with flexible array
scsi: mpi3mr: struct mpi3_sas_io_unit_page0: Replace 1-element array
with flexible array
scsi: mpi3mr: struct mpi3_sas_io_unit_page1: Replace 1-element array
with flexible array

 drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h | 10 ++--------
 drivers/scsi/mpi3mr/mpi/mpi30_ioc.h  | 10 ++--------
 2 files changed, 4 insertions(+), 16 deletions(-)
Signature · 1 line
2.34.1