]> 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)
commit1584235b584923129edad0b99d21d380f95cee17
tree601f72bd92f352fd6490c36f205d62432737c59b
parent5f8ba4ea886f8c0cc116bc8a5a011b54b51e8f15
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