aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-04-16 16:44:17 -0600
committerAlex Deucher <[email protected]>2024-05-02 16:18:16 -0400
commit687fe329f18ab0ab0496b20ed2cb003d4879d931 (patch)
tree8da5639af74e152fd538b70513c7a421e0012495 /tools/perf/scripts/python/stackcollapse.py
parent9419da172221eb1dd672bcbaa2e27bb5f8ca807a (diff)
drm/amd/display: Ensure array index tg_inst won't be -1
[WHY & HOW] tg_inst will be a negative if timing_generator_count equals 0, which should be checked before used. This fixes 2 OVERRUN issues reported by Coverity. Reviewed-by: Harry Wentland <[email protected]> Acked-by: Tom Chung <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions