Skip to content

Commit

Permalink
drm/nouveau/disp: fix uninitialised eq_done in error path
Browse files Browse the repository at this point in the history
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Apr 26, 2013
1 parent 17f0efc commit c5bd028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/core/engine/disp/dport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c5bd028

Please sign in to comment.