From: Emmanouil Maroudas Date: Sat, 23 Apr 2016 15:33:00 +0000 (+0300) Subject: EDAC: Increment correct counter in edac_inc_ue_error() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=993f88f1cc7f0879047ff353e824e5cc8f10adfc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git EDAC: Increment correct counter in edac_inc_ue_error() Fix typo in edac_inc_ue_error() to increment ue_noinfo_count instead of ce_noinfo_count. Signed-off-by: Emmanouil Maroudas Cc: Mauro Carvalho Chehab Cc: linux-edac Fixes: 4275be635597 ("edac: Change internal representation to work with layers") Link: http://lkml.kernel.org/r/1461425580-5898-1-git-send-email-emmanouil.maroudas@gmail.com Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 1472f48c8ac6..6aa256b0a1ed 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c @@ -923,7 +923,7 @@ static void edac_inc_ue_error(struct mem_ctl_info *mci, mci->ue_mc += count; if (!enable_per_layer_report) { - mci->ce_noinfo_count += count; + mci->ue_noinfo_count += count; return; }