summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-05-31 11:51:26 -0600
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 16:18:26 -0400
commitd6b54900c564e35989cf6813e4071504fa0a90e0 (patch)
treea83a5dba93d54e9ab5c9b6c38c23143c9ecf60c5 /tools/perf/scripts/python/export-to-postgresql.py
parentcc2b7387c132ebd51c7c5252cfcb494ac75ebf18 (diff)
drm/amd/display: Avoid overflow from uint32_t to uint8_t
[WHAT & HOW] dmub_rb_cmd's ramping_boundary has size of uint8_t and it is assigned 0xFFFF. Fix it by changing it to uint8_t with value of 0xFF. This fixes 2 INTEGER_OVERFLOW issues reported by Coverity. Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions