diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-03-12 17:10:37 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-20 11:48:09 +0100 |
commit | e6bda3e4cb439679946c9378628d906ab32bf590 (patch) | |
tree | 975febf171bef7206ccf9e9aed543ea3af325658 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ed4e9c1d46980e76254573ccd59efb3e8aec77d2 (diff) |
drm/i915: Avoid overflowing the DP link rate arrays
Complain loudly if we ever attempt to overflow the the supported_rates[]
array. This should never happen since the sink_rates[] array will always
be smaller or of equal size. But should someone change that we want to
catch it without scribblign over the stack.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions