aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorTim Gardner <[email protected]>2012-12-07 07:54:26 -0700
committerDaniel Vetter <[email protected]>2012-12-10 10:13:35 +0100
commit3ac18232946aacf0a9807c3143f8449ed4aa68f4 (patch)
treee84d135a791f856002505e6ac039a28db42c64a4 /tools/perf/scripts/python/event_analyzing_sample.py
parent378a6a77ae59d3312627b996ded94e23166d9e63 (diff)
i915: intel_set_mode: Reduce stack allocation from 500 bytes to 2 pointers
smatch warning: drivers/gpu/drm/i915/intel_display.c:7019 intel_set_mode() warn: function puts 500 bytes on stack Refactor so that saved_mode and saved_hwmode are dynamically allocated as opposed to being automatic variables. 500 bytes seems like it could run the potential for blowing the kernel stack. Cc: Daniel Vetter <[email protected]> Cc: David Airlie <[email protected]> Cc: [email protected] Signed-off-by: Tim Gardner <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions