]> git.baikalelectronics.ru Git - kernel.git/commit
vga16fb: test virtual screen range before subtraction on unsigned
authorRoel Kluin <12o3l@tiscali.nl>
Thu, 24 Jul 2008 04:31:19 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:37 +0000 (10:47 -0700)
commitbc5fa478993fe112e584bbd131294a28bf392f01
tree94ddd7718d173edcd406457d0bef7d9dea79c0f9
parent169fd3e01f1bc8a89c6fd068febae0785ad5f9a7
vga16fb: 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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/vga16fb.c