diff options
author | Alex Hung <[email protected]> | 2024-10-03 18:26:55 -0600 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-10-15 11:24:13 -0400 |
commit | 3ff3b48ac8eb303ffc8fd7952199adb302f179f8 (patch) | |
tree | 40c2e9daf0540febff4769248f8d272e6dd8e993 /lib/crypto/mpi/mpi-internal.h | |
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 <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Signed-off-by: Roman Li <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions