aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-07-03 08:54:28 +0000
committerAlex Deucher <[email protected]>2015-07-08 16:41:43 +0000
commit866a92040392d844d151aa6a2ba15be2e6e5df4f (patch)
treeb82349b0bab19a2031fc90dc88d529af28ddcdf2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/radeon: default to 2048 MB GART size on SI+ (diff)
downloadkernel-866a92040392d844d151aa6a2ba15be2e6e5df4f.tar.gz
kernel-866a92040392d844d151aa6a2ba15be2e6e5df4f.zip
drm/radeon: fix underflow in r600_cp_dispatch_texture()
The "if (pass_size > buf->total)" can underflow so I have changed the type of size and pass_size to unsigned to avoid this problem. Reviewed-by: Christian König <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions