aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/i7core_edac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 8e93df637bca..cd51709c4d89 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -1670,7 +1670,7 @@ static void i7core_check_error(struct mem_ctl_info *mci)
1670 count = (pvt->mce_out + MCE_LOG_LEN - pvt->mce_in) 1670 count = (pvt->mce_out + MCE_LOG_LEN - pvt->mce_in)
1671 % MCE_LOG_LEN; 1671 % MCE_LOG_LEN;
1672 if (!count) 1672 if (!count)
1673 return; 1673 goto check_ce_error;
1674 1674
1675 m = pvt->mce_outentry; 1675 m = pvt->mce_outentry;
1676 if (pvt->mce_in + count > MCE_LOG_LEN) { 1676 if (pvt->mce_in + count > MCE_LOG_LEN) {
@@ -1703,6 +1703,7 @@ static void i7core_check_error(struct mem_ctl_info *mci)
1703 /* 1703 /*
1704 * Now, let's increment CE error counts 1704 * Now, let's increment CE error counts
1705 */ 1705 */
1706check_ce_error:
1706 if (!pvt->is_registered) 1707 if (!pvt->is_registered)
1707 i7core_udimm_check_mc_ecc_err(mci); 1708 i7core_udimm_check_mc_ecc_err(mci);
1708 else 1709 else