drm/amdgpu: correct ras error count type
authorGuchun Chen <guchun.chen@amd.com>
Fri, 16 Aug 2019 07:06:52 +0000 (15:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:30:32 +0000 (11:30 -0500)
commit64cc5414fbf673cf676e257f9d6c999357947488
tree24a9b1742343028bf36131c851ccaac216f4cc5d
parent789d027ec8e7aa300689f418b522ae21e333eb17
drm/amdgpu: correct ras error count type

Use unsigned long type for the same ras count variable.
This will avoid overflow on 64 bit system.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h