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 arrays with flexible-array members
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 structures report_phys_lun_8byte_wwid_list and report_phys_lun_16byte_wwid_list. This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines on memcpy(). Link: KSPP#79 Link: KSPP#204 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
- Loading branch information