summaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorTong Zhang <ztong0001@gmail.com>2020-08-16 03:32:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-08-26 15:11:09 -0400
commited9ab229fea24cbcab17f484297dc8344afb7ea9 (patch)
tree45252940c59a34443154dd37380e11786b11e9f1 /mm/page_alloc.c
parentd012a7190fc1fd72ed48911e77ca97ba4521bccd (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/page_alloc.c')
0 files changed, 0 insertions, 0 deletions