From: Jerome Glisse Date: Wed, 9 Jan 2013 21:40:42 +0000 (-0500) Subject: radeon/kms: fix dma relocation checking X-Git-Tag: v3.8-rc4~28^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9305ede6afe2998b391cd225e02a18f37d62028e;p=pandora-kernel.git radeon/kms: fix dma relocation checking We were checking the index against the size of the relocation buffer instead of against the last index. This fix kernel segfault when userspace submit ill formated command stream/relocation buffer pair. Signed-off-by: Jerome Glisse Signed-off-by: Alex Deucher --- Reading git-diff-tree failed