]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: covert ras status to kernel errno
authorDennis Li <Dennis.Li@amd.com>
Mon, 10 May 2021 03:04:59 +0000 (11:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:09:37 +0000 (18:09 -0400)
commit43c2a1280d9e1819cd8ad7e4242ced21dd836c72
tree601f72bd92f352fd6490c36f205d62432737c59b
parent81c1b8f5c816772cf6ff09e9e168207a4ab2e867
drm/amdgpu: covert ras status to kernel errno

The original codes use ras status and kernl errno together in the same
function, which is a wrong code style.

Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c