Skip to content

scsi: message: fusion: 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 Latest6 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6scsi: message: fusion: struct _RAID_VOL0_SETTINGS: Replace 1-element array with flexible arraydrivers/message/fusion/lsi/mpi_cnfg.h+1 -91 reply
2/6scsi: message: fusion: struct _CONFIG_PAGE_SAS_IO_UNIT_0: Replace 1-element array with flexible arraydrivers/message/fusion/lsi/mpi_cnfg.h+1 -91 reply
3/6scsi: message: fusion: struct _CONFIG_PAGE_RAID_PHYS_DISK_1: Replace 1-element array with flexible arraydrivers/message/fusion/lsi/mpi_cnfg.h+1 -91 reply
4/6scsi: message: fusion: struct _CONFIG_PAGE_IOC_2: Replace 1-element array with flexible arraydrivers/message/fusion/lsi/mpi_cnfg.h+1 -91 reply
5/6scsi: message: fusion: struct _CONFIG_PAGE_IOC_3: Replace 1-element array with flexible arraydrivers/message/fusion/lsi/mpi_cnfg.h+1 -91 reply
6/6scsi: message: fusion: struct _CONFIG_PAGE_IOC_4: Replace 1-element array with flexible arraydrivers/message/fusion/lsi/mpi_cnfg.h+1 -91 reply

Reviews trailers per patch

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

PatchGustavo A. R. Silva
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-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/6] scsi: message: fusion: Replace 1-element arrays with flexible arrays

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