From: Ville Syrjälä Date: Thu, 12 Mar 2015 15:10:37 +0000 (+0200) Subject: drm/i915: Avoid overflowing the DP link rate arrays X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~20^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6bda3e4cb439679946c9378628d906ab32bf590;p=pandora-kernel.git drm/i915: Avoid overflowing the DP link rate arrays Complain loudly if we ever attempt to overflow the the supported_rates[] array. This should never happen since the sink_rates[] array will always be smaller or of equal size. But should someone change that we want to catch it without scribblign over the stack. Signed-off-by: Ville Syrjälä Reviewed-by: Sonika Jindal Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed