public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] scsi: mpi3mr: Replace 1-element arrays with flexible arrays
@ 2024-07-11 15:56 Kees Cook
  2024-07-11 15:56 ` [PATCH 1/4] scsi: mpi3mr: struct mpi3_event_data_sas_topology_change_list: Replace 1-element array with flexible array Kees Cook
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Kees Cook @ 2024-07-11 15:56 UTC (permalink / raw)
  To: Sathya Prakash Veerichetty
  Cc: Kees Cook, Kashyap Desai, Sumit Saxena, Sreekanth Reddy,
	James E.J. Bottomley, Martin K. Petersen, Gustavo A. R. Silva,
	Ranjan Kumar, Stephen Rothwell, linux-kernel, mpi3mr-linuxdrv.pdl,
	linux-scsi, linux-hardening

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-08-05 21:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 15:56 [PATCH 0/4] scsi: mpi3mr: Replace 1-element arrays with flexible arrays Kees Cook
2024-07-11 15:56 ` [PATCH 1/4] scsi: mpi3mr: struct mpi3_event_data_sas_topology_change_list: Replace 1-element array with flexible array Kees Cook
2024-07-11 16:16   ` Gustavo A. R. Silva
2024-07-11 15:56 ` [PATCH 2/4] scsi: mpi3mr: struct mpi3_event_data_pcie_topology_change_list: " Kees Cook
2024-07-11 16:17   ` Gustavo A. R. Silva
2024-07-11 15:56 ` [PATCH 3/4] scsi: mpi3mr: struct mpi3_sas_io_unit_page0: " Kees Cook
2024-07-11 16:18   ` Gustavo A. R. Silva
2024-07-11 15:56 ` [PATCH 4/4] scsi: mpi3mr: struct mpi3_sas_io_unit_page1: " Kees Cook
2024-07-11 16:25   ` Gustavo A. R. Silva
2024-08-03  1:24 ` [PATCH 0/4] scsi: mpi3mr: Replace 1-element arrays with flexible arrays Martin K. Petersen
2024-08-05 21:17 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox