mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
[ Upstream commitafe58346d5] Should be -EOPNOTSUPP. Fixes:5104fdf50d("drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL") Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
37050fc054
commit
9e8fa2afaf
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue