From: Ville Syrjälä Date: Tue, 13 Mar 2012 10:35:44 +0000 (+0200) Subject: drm: Check user mode against overflows X-Git-Tag: v3.4-rc1~143^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90367bf6e98352520d15634ac4e79f0d4598cff1;p=pandora-kernel.git drm: Check user mode against overflows The internal mode representation drm_display_mode uses signed data types. When converting the user mode to internal representation, check that the unsigned values don't overflow the signed datatypes. Signed-off-by: Ville Syrjälä Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed