]> err.no Git - linux-2.6/commit
amifb: test virtual screen range before subtraction on unsigned
authorRoel Kluin <12o3l@tiscali.nl>
Thu, 24 Jul 2008 04:31:18 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:37 +0000 (10:47 -0700)
commit091c82c01295719d47b89b38d24e41ad2066ead8
treec0eba5dda549a576aad0c87177fef1268f498e1b
parent816664f88707b03fde24fb09759d569ed42406cb
amifb: test virtual screen range before subtraction on unsigned

dx and dy are u32's, so the test should occur before the subtraction

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Cc: Antonino Daplas <adaplas@pol.net>
Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/amifb.c