aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorSven Neumann <[email protected]>2009-10-22 08:34:34 +0200
committerEric Miao <[email protected]>2009-12-01 09:02:29 +0800
commit448ac479768d6c242338ecf13569dc297f8908ce (patch)
treef5c435e8af9c429fb023c7467fb8238a1fcc31c3 /lib/cpu-notifier-error-inject.c
parent7f49a7f7011f3a59b51dd6003714d7aed72d7718 (diff)
pxafb: use passed fb_var_screeninfo struct in pxafb_pan_display()
pxafb_pan_display() used to ignore the fb_var_screeninfo parameter. Now pass it to setup_base_frame() instead of pulling default values out of fb_info. And the original patch has an issue of pxafb_pan_display() paying only attention to the 'var' parameter passed in, and Ville Syrjälä pointed out, this is potentially dangerous as user could pass in any other screeninfo parameters as well, and not only such that are relevant for display panning. This is fixed by limiting the arguments actually used to .xoffset, .yoffset and .vmode & FB_VMODE_YWRAP. Signed-off-by: Sven Neumann <[email protected]> Cc: Ville Syrjälä <[email protected]> Signed-off-by: Daniel Mack <[email protected]> Signed-off-by: Eric Miao <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions