diff options
| author | Dan Carpenter <[email protected]> | 2015-07-03 08:54:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-07-08 16:41:43 +0000 |
| commit | 866a92040392d844d151aa6a2ba15be2e6e5df4f (patch) | |
| tree | b82349b0bab19a2031fc90dc88d529af28ddcdf2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/radeon: default to 2048 MB GART size on SI+ (diff) | |
| download | kernel-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
