From: Damien Lespiau Date: Fri, 12 Jul 2013 15:24:40 +0000 (+0100) Subject: drm/i915: Don't attempt to read an unitialized stack value X-Git-Tag: v3.12-rc1~136^2~165^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53b914084950e5766b40228c4e08706e28745fa5;p=pandora-kernel.git drm/i915: Don't attempt to read an unitialized stack value If intel_sdvo_get_value() fails here, val is unitialized and the cross check will compare the pipe config multiplier with a bogus value. Instead, only set encoder_pixel_multiplier when the sdvo command has been successful. The cross check will compare the pipe config value with 0 otherwise. v2: Do the cross check with the initial value of encoder_pixel_multiplier (0) if the sdvo command fails (and thus keep the warning) (Daniel Vetter) Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed