From: Roel Kluin Date: Sat, 25 Jul 2009 22:50:38 +0000 (+0200) Subject: drm/i915: Fix read outside array bounds in restoring the SWF10 range. X-Git-Tag: v2.6.31-rc6~37^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=819e0064634f580ab618189e657ea58341d214b7;p=pandora-kernel.git drm/i915: Fix read outside array bounds in restoring the SWF10 range. dev_priv->saveSWF1 is a 16 element array, but this reads up to index 22, and restored values from the wrong registers. Signed-off-by: Roel Kluin Signed-off-by: Eric Anholt --- Reading git-diff-tree failed