diff options
author | Tong Zhang <ztong0001@gmail.com> | 2020-08-16 03:32:12 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-26 15:11:09 -0400 |
commit | ed9ab229fea24cbcab17f484297dc8344afb7ea9 (patch) | |
tree | 45252940c59a34443154dd37380e11786b11e9f1 /mm/migrate.c | |
parent | d012a7190fc1fd72ed48911e77ca97ba4521bccd (diff) |
drm/amd/display: should check error using DC_OK
core_link_read_dpcd returns only DC_OK(1) and DC_ERROR_UNEXPECTED(-1),
the caller should check error using DC_OK instead of checking against 0
Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions