[PATCH] fbdev: Pan display fixes
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 13 Dec 2005 06:17:17 +0000 (22:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Dec 2005 06:31:17 +0000 (22:31 -0800)
commit1207069f6f8f3d1b71641fdaa6cc04fca6fff9f5
treec8be44eb73032dd787c18ff3f71d42083258484e
parent4743484718e1d710321f24f8ef7d0124a48291b3
[PATCH] fbdev: Pan display fixes

- Fix fb_pan_display rejecting yoffsets that are valid if panning mode
  is ywrap.

- Add more robust error checking in fb_pan_display specially since this
  function is accessible by userland apps.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/fbmem.c