aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-04-10 21:43:15 -0700
committerMike Snitzer <[email protected]>2018-05-04 10:35:20 -0400
commit65972a6fa914b16cc15ffcffcb8bea8c64e78f49 (patch)
treed38714eaabf08f361c6a96467f31f6e94353a07c /tools/perf/util/scripting-engines/trace-event-python.c
parent3d97c829edd43262e7e9d720fa82c2241ba685a3 (diff)
dm mirror: remove VLA usage
On the quest to remove all VLAs from the kernel[1], this avoids VLAs in dm-raid1.c by just using the maximum size for the stack arrays. The nr_mirrors value was already capped at 9, so this makes it a trivial adjustment to the array sizes. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kees Cook <[email protected]> Acked-by: Heinz Mauelshagen <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions