diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-04-11 00:12:48 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-04-26 05:37:31 (GMT) |
commit | c5bd028baae4b738075f16d00f9f857eb439cd93 (patch) | |
tree | 30b3ecaa8fc452ab78d0d681a3a833dae295f2d9 /drivers/gpu | |
parent | 17f0efc4f463e5b74026863521cbd47fb93f5686 (diff) | |
download | linux-c5bd028baae4b738075f16d00f9f857eb439cd93.tar.xz |
drm/nouveau/disp: fix uninitialised eq_done in error path
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/disp/dport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/dport.c b/drivers/gpu/drm/nouveau/core/engine/disp/dport.c index fa27b02..31cc8fe 100644 --- a/drivers/gpu/drm/nouveau/core/engine/disp/dport.c +++ b/drivers/gpu/drm/nouveau/core/engine/disp/dport.c @@ -191,7 +191,7 @@ dp_link_train_cr(struct dp_state *dp) static int dp_link_train_eq(struct dp_state *dp) { - bool eq_done, cr_done = true; + bool eq_done = false, cr_done = true; int tries = 0, i; dp_set_training_pattern(dp, 2); |