[PATCH 03/15] drm: Warn if mode to umode conversion overflows the destination types

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? When converting from a drm_display_mode to drm_mode_modeinfo, print a warning if the the timings values don't fit into the __u16 datatype. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |7 +++ 1 files changed, 7

[PATCH 03/15] drm: Warn if mode to umode conversion overflows the destination types

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com When converting from a drm_display_mode to drm_mode_modeinfo, print a warning if the the timings values don't fit into the __u16 datatype. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c |7 +++