linux/drivers/scsi/smartpqi
Gustavo A. R. Silva ead821268c scsi: smartpqi: Replace one-element array with flexible-array member
One-element arrays are deprecated, and we are replacing them with flexible
array members instead. So, replace one-element array with flexible-array
member in struct report_log_lun_list.

This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines
on memcpy().

Link: https://lore.kernel.org/r/Y+LJz/r6+UeLqnV3@work
Link: https://github.com/KSPP/linux/issues/79
Link: https://github.com/KSPP/linux/issues/204
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Don Brace <don.brace@microchip.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-02-08 19:03:43 -05:00
..
Kconfig scsi: smartpqi: Update copyright to current year 2022-07-13 23:42:04 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi_init.c scsi: smartpqi: Replace one-element array with flexible-array member 2023-02-08 19:03:43 -05:00
smartpqi_sas_transport.c scsi: smartpqi: Update copyright to current year 2022-07-13 23:42:04 -04:00
smartpqi_sis.c scsi: smartpqi: Update copyright to current year 2022-07-13 23:42:04 -04:00
smartpqi_sis.h scsi: smartpqi: Update copyright to current year 2022-07-13 23:42:04 -04:00
smartpqi.h scsi: smartpqi: Replace one-element array with flexible-array member 2023-02-08 19:03:43 -05:00