drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
authorjsg <jsg@openbsd.org>
Mon, 29 Jan 2024 01:39:33 +0000 (01:39 +0000)
committerjsg <jsg@openbsd.org>
Mon, 29 Jan 2024 01:39:33 +0000 (01:39 +0000)
commit8fc7c30588f9ddebd1e97c39a389846f786ab7b2
treedf8722f635e67337208ec65308fb0f7946b02a64
parent6ee266b038160761b783d5ed8c3bee55c648f443
drm/amdgpu/debugfs: fix error code when smc register accessors are NULL

From Alex Deucher
5bc4f16118c575410e7be220bbb9b1fa2ee4274b in linux-6.6.y/6.6.14
afe58346d5d3887b3e49ff623d2f2e471f232a8d in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_debugfs.c