Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/bp/bp

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
  amd64_edac: print debug statements only on error
  amd64_edac: fix ECC checking
  • Loading branch information
Linus Torvalds committed Aug 4, 2009
2 parents 78ec75c + c271834 commit c71c090
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/edac/amd64_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,8 @@ static void amd64_read_dbam_reg(struct amd64_pvt *pvt)
goto err_reg;
}

return;

err_reg:
debugf0("Error reading F2x%03x.\n", reg);
}
Expand Down Expand Up @@ -2634,6 +2636,8 @@ static void amd64_read_mc_registers(struct amd64_pvt *pvt)

amd64_dump_misc_regs(pvt);

return;

err_reg:
debugf0("Reading an MC register failed\n");

Expand Down Expand Up @@ -2977,6 +2981,9 @@ static int amd64_check_ecc_enabled(struct amd64_pvt *pvt)
"ECC is enabled by BIOS, Proceeding "
"with EDAC module initialization\n");

/* Signal good ECC status */
ret = 0;

/* CLEAR the override, since BIOS controlled it */
ecc_enable_override = 0;
}
Expand Down

0 comments on commit c71c090

Please sign in to comment.