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

From: Kees Cook
Date: Thu Jul 11 2024 - 11:57:13 EST


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

--
2.34.1