staging: xgifb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 25 May 2011 09:34:52 +0000 (11:34 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 08:36:27 +0000 (10:36 +0200)
commit0d5c6ca30bb0190c0a63fd6452c71051fb6bfbe4
tree984b7f5a411bb7222754a2d5aae4280812d4a9a0
parent10a6c1de2ca2761f87c9bd62ab882577a80995f1
staging: xgifb: 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>
drivers/staging/xgifb/XGI_main_26.c