diff options
| author | Damien Lespiau <damien.lespiau@intel.com> | 2013-07-12 19:24:40 +0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-12 19:33:21 +0400 |
| commit | 53b914084950e5766b40228c4e08706e28745fa5 (patch) | |
| tree | 70d1d2315bc66e6a177489cc6acb674779539465 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 08e2a7de8ec86054a1272e4fc9d15fa6c18d3b16 (diff) | |
| download | linux-53b914084950e5766b40228c4e08706e28745fa5.tar.xz | |
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 <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
