aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJames Seo <[email protected]>2023-08-06 10:05:53 -0700
committerMartin K. Petersen <[email protected]>2023-11-15 08:52:01 -0500
commitaa4db51bbd51654e215905f384eecf22327bafa9 (patch)
tree30c849f1764be77d2ca4566873414f3181ad8f61 /tools/perf/scripts/python/flamegraph.py
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
scsi: mpt3sas: Use flexible arrays when obviously possible
These terminal 1-length variable arrays can be directly converted into C99 flexible array members without any binary changes. In most cases, they belong to unused structs, or to structs used only by unused code. The remaining few coincidentally have their sizes calculated in roundabout ways that do not depend on the sizeof() their structs. Reviewed-by: Kees Cook <[email protected]> Signed-off-by: James Seo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Borislav Petkov (AMD) <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions