aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSalvatore Mesoraca <[email protected]>2018-06-07 17:04:55 -0700
committerLinus Torvalds <[email protected]>2018-06-07 17:34:34 -0700
commit64202a21a449837aa155764029216d69019cfb15 (patch)
tree5d06826dd42048714e4eb1dca1af8e91dadd89c4 /tools/perf/scripts/python/bin/stackcollapse-record
parentf3797d8ae596636ab42e59493b3bcbe4a04f296e (diff)
ocfs2: drop a VLA in ocfs2_orphan_del()
Avoid a VLA by using a real constant expression instead of a variable. The compiler should be able to optimize the original code and avoid using an actual VLA. Anyway this change is useful because it will avoid a false positive with -Wvla, it might also help the compiler generating better code. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Salvatore Mesoraca <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Cc: Junxiao Bi <[email protected]> Cc: Joseph Qi <[email protected]> Cc: Changwei Ge <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions