diff options
author | Dan Carpenter <[email protected]> | 2018-07-04 12:46:15 +0300 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-07-05 16:40:02 -0500 |
commit | 5d908944c5ba4fc8d301e1332635c64c1b77d843 (patch) | |
tree | 1a778aa2cccf6e55c50e7957251129777a894cbd /tools/perf/util/trace-event-scripting.c | |
parent | 20582319bce482e65ee1f417b9867f028d058c12 (diff) |
drm/amd/display: off by one in find_irq_source_info()
The ->info[] array has DAL_IRQ_SOURCES_NUMBER elements so this condition
should be >= instead of > or we could read one element beyond the end of
the array.
Fixes: 4562236b3bc0 ("drm/amd/dc: Add dc display driver (v2)")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions