diff options
| author | Nirmoy Das <[email protected]> | 2021-09-02 11:27:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-14 19:35:44 +0000 |
| commit | 59715cffce19cfd4f7cffcf6d7ecc18478af8c4a (patch) | |
| tree | 5ab8790bf476b7f7cdddf1e54f754590f198541d /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amd/display: make configure_lttpr_mode_transparent and configure_lttpr_mo... (diff) | |
| download | kernel-59715cffce19cfd4f7cffcf6d7ecc18478af8c4a.tar.gz kernel-59715cffce19cfd4f7cffcf6d7ecc18478af8c4a.zip | |
drm/amdgpu: use IS_ERR for debugfs APIs
debugfs APIs returns encoded error so use
IS_ERR for checking return value.
v2: return PTR_ERR(ent)
References: https://gitlab.freedesktop.org/drm/amd/-/issues/1686
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-By: Shashank Sharma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
