diff options
author | Alex Hung <alex.hung@amd.com> | 2024-10-03 18:26:55 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-15 11:24:13 -0400 |
commit | 3ff3b48ac8eb303ffc8fd7952199adb302f179f8 (patch) | |
tree | 40c2e9daf0540febff4769248f8d272e6dd8e993 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c0933f1de2a5eab2fefd07372b415583675cfe9f (diff) |
drm/amd/display: Check returned status from core_link_read_dpcd
[WHAT]
The function core_link_read_dpcd returns status which is not used at
all, making them useless assignments.
[HOW]
Print error messages if core_link_read_dpcd does not return DC_OK.
This fixes 2 UNUSED_VALUE issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Roman Li <roman.li@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