mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +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
3ec6ce0651
commit
591e77fedc
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue