diff options
| author | 2021-09-02 13:27:56 +0200 | |
|---|---|---|
| committer | 2021-09-14 16:21:15 -0400 | |
| commit | b04ce53eac2fc326290817a6f64a440b5bffd2e3 (patch) | |
| tree | 861120caae4692bda461b13dde9a55d9bc6d37d4 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | amd/display: downgrade validation failure log level (diff) | |
| download | linux-dev-b04ce53eac2fc326290817a6f64a440b5bffd2e3.tar.xz linux-dev-b04ce53eac2fc326290817a6f64a440b5bffd2e3.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 <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-By: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
