mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm: fix warning for uninitialized variable
@ 2012-04-17 14:01 Laura Vasilescu
  0 siblings, 0 replies; only message in thread
From: Laura Vasilescu @ 2012-04-17 14:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: dri-devel, bskeggs, airlied, Laura Vasilescu

Signed-off-by: Laura Vasilescu <laura@rosedu.org>
---
 drivers/gpu/drm/nouveau/nouveau_dp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c
index d996134..2ff17ef 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dp.c
+++ b/drivers/gpu/drm/nouveau/nouveau_dp.c
@@ -332,7 +332,7 @@ dp_link_train_cr(struct drm_device *dev, struct dp_state *dp)
 static int
 dp_link_train_eq(struct drm_device *dev, 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(dev, dp, DP_TRAINING_PATTERN_2);
-- 
1.7.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-17 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-17 14:01 [PATCH] drm: fix warning for uninitialized variable Laura Vasilescu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®