[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1334671289-9869-1-git-send-email-laura@rosedu.org>
Date: Tue, 17 Apr 2012 17:01:29 +0300
From: Laura Vasilescu <laura@...edu.org>
To: linux-kernel@...r.kernel.org
Cc: dri-devel@...ts.freedesktop.org, bskeggs@...hat.com,
airlied@...ux.ie, Laura Vasilescu <laura@...edu.org>
Subject: [PATCH] drm: fix warning for uninitialized variable
Signed-off-by: Laura Vasilescu <laura@...edu.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists