aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/atmel_lcdfb.c
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-06-06 01:27:34 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:36:13 -0800
commit76ec8cdcca9f8fa8e2546ed96a2715a6654487ad (patch)
treeb4066d555e694fa042d610477f6b7aeeab9f80d8 /drivers/video/atmel_lcdfb.c
parentcdf3e3448744d14b6307dfc7f7203cba6fecf199 (diff)
viafb: improve pitch handling
commit 936a3f770b8de7042d793272f008ef1bb08522e9 upstream. This patch adds checks for minimum and maximum pitch size to prevent invalid settings which could otherwise crash the machine. Also the alignment is done in a slightly more readable way. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/video/atmel_lcdfb.c')
0 files changed, 0 insertions, 0 deletions