Skip to content
Snippets Groups Projects
Commit 517592e5 authored by Nirmoy Das's avatar Nirmoy Das
Browse files

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: drm/amd#1686


Signed-off-by: default avatarNirmoy Das <nirmoy.das@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-By: default avatarShashank Sharma <shashank.sharma@amd.com>
parent 5283e101
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment