[PATCH 0/6] scsi: message: fusion: Replace 1-element arrays with flexible arrays

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


Hi,

Replace all remaining uses of deprecated 1-element "fake" flexible arrays
with modern C99 flexible arrays. Add __counted_by annotations at the
same time.

Thanks!

-Kees

Kees Cook (6):
scsi: message: fusion: struct _RAID_VOL0_SETTINGS: Replace 1-element
array with flexible array
scsi: message: fusion: struct _CONFIG_PAGE_SAS_IO_UNIT_0: Replace
1-element array with flexible array
scsi: message: fusion: struct _CONFIG_PAGE_RAID_PHYS_DISK_1: Replace
1-element array with flexible array
scsi: message: fusion: struct _CONFIG_PAGE_IOC_2: Replace 1-element
array with flexible array
scsi: message: fusion: struct _CONFIG_PAGE_IOC_3: Replace 1-element
array with flexible array
scsi: message: fusion: struct _CONFIG_PAGE_IOC_4: Replace 1-element
array with flexible array

drivers/message/fusion/lsi/mpi_cnfg.h | 60 +++------------------------
1 file changed, 6 insertions(+), 54 deletions(-)

--
2.34.1