aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-08-07 15:50:40 -0700
committerKalle Valo <[email protected]>2018-08-09 18:08:53 +0300
commit17ad18fd12a35bf84109741415594e21f2577e5e (patch)
treeef78bc4a76a6cc41bf340518168b531742bb09c2 /tools/perf/util/trace-event-scripting.c
parent1b622bd59e9fc4375febf8697684746211eaeb4a (diff)
mt76x0: Remove VLA usage
Even with "const" variables, the compiler will generate warnings about VLA usage. In the quest to remove all VLAs from the kernel[1], this uses a #define instead of a const to do the array sizing. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Fixes: e87b5039511a ("mt76x0: eeprom files") Signed-off-by: Kees Cook <[email protected]> Acked-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions