Skip to content
Commit afe58346 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/debugfs: fix error code when smc register accessors are NULL



Should be -EOPNOTSUPP.

Fixes: 5104fdf5 ("drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL")
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6872a189
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment