summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-06-29 11:44:50 -0700
committerFlorian Fainelli <f.fainelli@gmail.com>2018-07-09 10:47:29 -0700
commita1547e0bca519b92b09ac5530c6accb7c3f69d1a (patch)
treef53f4d6e3dc3045f8c504445a3eec298f23a0409 /tools/perf/scripts/python/call-graph-from-sql.py
parent70eea1bbb5561154e62b322904b685acb0e52d3e (diff)
firmware: raspberrypi: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this removes the VLA in favor of a maximum size and adds a sanity check. Existing callers of the firmware interface never need more than 24 bytes (struct gpio_set_config). This chooses 32 just to stay ahead of future growth. v2: Fix the length passed to rpi_firmware_property_list (by anholt, acked by Kees). [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions