diff options
| author | Tong Zhang <[email protected]> | 2020-08-16 07:32:12 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-08-18 22:22:49 +0000 |
| commit | 16697cf39ed8c5948b44f786bf9bf749dc67692e (patch) | |
| tree | 5b70559aab8cc18eb75fb0160f9f159e0bf4292c /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amd/display: fix potential integer overflow when shifting 32 bit variable... (diff) | |
| download | kernel-16697cf39ed8c5948b44f786bf9bf749dc67692e.tar.gz kernel-16697cf39ed8c5948b44f786bf9bf749dc67692e.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
