aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2022-08-15 16:40:35 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2022-08-31 23:39:59 -0400
commitac23b92b27e32f1ff331350342ce9f2ee9d0ab0f (patch)
treee34d2937e790af42d4171d87d9477d9f6bd32a89 /tools/perf/scripts/python
parentscsi: qla2xxx: Avoid flush_scheduled_work() usage (diff)
downloadlinux-dev-ac23b92b27e32f1ff331350342ce9f2ee9d0ab0f.tar.xz
linux-dev-ac23b92b27e32f1ff331350342ce9f2ee9d0ab0f.zip
scsi: megaraid_sas: Replace one-element array with flexible-array member in MR_FW_RAID_MAP
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_DRV_RAID_MAP and refactor the the rest of the code accordingly. 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/4495ce170c8ef088a10f1abe0e7c227368f43242.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> Enhanced-by: Kees Cook <keescook@chromium.org> # Change in struct MR_FW_RAID_MAP_ALL
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions