Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: KSPP#79 Link: KSPP#204 Acked-by: Don Brace <don.brace@microchip.com> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
- Loading branch information