summaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorTong Zhang <ztong0001@gmail.com>2020-08-16 10:32:12 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-08-26 22:11:09 +0300
commited9ab229fea24cbcab17f484297dc8344afb7ea9 (patch)
tree45252940c59a34443154dd37380e11786b11e9f1 /scripts/gen_compile_commands.py
parentd012a7190fc1fd72ed48911e77ca97ba4521bccd (diff)
downloadlinux-ed9ab229fea24cbcab17f484297dc8344afb7ea9.tar.xz
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 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions