diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2022-08-15 16:42:21 -0500 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-08-31 23:39:59 -0400 |
| commit | 204a29a169f4c80aa3b7feb41c45cbd6833aba21 (patch) | |
| tree | 4ad402e4f80fa58dad228ec9190e4cf965b423f0 /tools/perf/scripts/python | |
| parent | scsi: megaraid_sas: Replace one-element array with flexible-array member in M... (diff) | |
| download | linux-204a29a169f4c80aa3b7feb41c45cbd6833aba21.tar.gz linux-204a29a169f4c80aa3b7feb41c45cbd6833aba21.zip | |
scsi: megaraid_sas: Replace one-element array with flexible-array member in MR_FW_RAID_MAP_DYNAMIC
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 MR_FW_RAID_MAP_DYNAMIC.
This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines
on memcpy().
Link: https://github.com/KSPP/linux/issues/79
Link: https://github.com/KSPP/linux/issues/109
Link: https://lore.kernel.org/r/896476f8fe43cf83b491c6c13f59c9ace780d82c.1660592640.git.gustavoars@kernel.org
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
