fbmem: fix con2fbmap limit check
authorPeter Samuelson <peter@p12n.org>
Mon, 28 Apr 2008 09:15:03 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:36 +0000 (08:58 -0700)
commit57a7a6db0eed2862072497116232f57a6843cadd
tree7335cd906fce91b3e87cbdcfad42a96ca11847ca
parentb6f448e99ce7955b9707ed36a46cab2c6ddf7ddc
fbmem: fix con2fbmap limit check

Fix limit check in FBIOPUT_CON2FBMAP ioctl.

Signed-off-by: Peter Samuelson <peter@p12n.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbmem.c