diff options
| author | Nirmoy Das <[email protected]> | 2021-09-02 13:27:56 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-14 16:21:15 -0400 |
| commit | b04ce53eac2fc326290817a6f64a440b5bffd2e3 (patch) | |
| tree | 861120caae4692bda461b13dde9a55d9bc6d37d4 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | 7bbee36d71502ab9a341505da89a017c7ae2e6b2 (diff) | |
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]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions