From: Dan Carpenter Date: Fri, 3 Jul 2015 08:54:28 +0000 (+0300) Subject: drm/radeon: fix underflow in r600_cp_dispatch_texture() X-Git-Tag: omap-for-v4.2/fixes-rc2-v2~18^2~3^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=866a92040392d844d151aa6a2ba15be2e6e5df4f;p=pandora-kernel.git 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 Signed-off-by: Dan Carpenter Signed-off-by: Alex Deucher --- Reading git-diff-tree failed