]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
atafb: 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)
commit1c0face9d4024bf942096297937759bdf0e1aeac
tree7476e3d9697d313eaf963840ff3d1a9342aa1626
parent091c82c01295719d47b89b38d24e41ad2066ead8
atafb: 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: Tim Schmielau <tim@physik3.uni-rostock.de>
Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Antonino Daplas <adaplas@pol.net>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/atafb.c