Re: [PATCH 5/5] drm/amdgpu: Fix potential integer overflows

2019-07-10 Thread Alex Deucher
On Tue, Jul 9, 2019 at 11:59 PM Kuehling, Felix wrote: > > With mm_nodes larger than 4GB, byte_count in amdgpu_fill_buffer would > overflow. > > Signed-off-by: Felix Kuehling Good catch. Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 9 + > 1 file

[PATCH 5/5] drm/amdgpu: Fix potential integer overflows

2019-07-09 Thread Kuehling, Felix
With mm_nodes larger than 4GB, byte_count in amdgpu_fill_buffer would overflow. Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c