vga16fb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:25:04 +0000 (09:25 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:03:54 +0000 (15:03 +0900)
commit4d3c68a1b468741fcebfbfb0b92ff9e75a063484
tree6fba369213763452e4bc8afe1eb3bef714507a68
parente4c735af0076923643af48577fc9ad6e123a55fa
vga16fb: use display information in info not in var for panning

We must not use any information in the passed var besides xoffset,
yoffset and vmode as otherwise applications might abuse it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/vga16fb.c