Searched hist:ead821268c14a8f87b5cb1079aed10bb16373fe8 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi.h | diff ead821268c14a8f87b5cb1079aed10bb16373fe8 Tue Feb 07 22:59:43 CET 2023 Gustavo A. R. Silva <gustavoars@kernel.org> 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>
|
H A D | smartpqi_init.c | diff ead821268c14a8f87b5cb1079aed10bb16373fe8 Tue Feb 07 22:59:43 CET 2023 Gustavo A. R. Silva <gustavoars@kernel.org> 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>
|