[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <5b02d69d5a58ee0c66334b927821eec38d946378.1475144721.git.jslaby@suse.cz>
Date: Thu, 29 Sep 2016 12:24:16 +0200
From: Jiri Slaby <jslaby@...e.cz>
To: stable@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Emmanouil Maroudas <emmanouil.maroudas@...il.com>,
Mauro Carvalho Chehab <mchehab@....samsung.com>,
linux-edac <linux-edac@...r.kernel.org>,
Borislav Petkov <bp@...e.de>, Jiri Slaby <jslaby@...e.cz>
Subject: [PATCH 3.12 020/119] EDAC: Increment correct counter in edac_inc_ue_error()
From: Emmanouil Maroudas <emmanouil.maroudas@...il.com>
3.12-stable review patch. If anyone has any objections, please let me know.
===============
commit 993f88f1cc7f0879047ff353e824e5cc8f10adfc upstream.
Fix typo in edac_inc_ue_error() to increment ue_noinfo_count instead of
ce_noinfo_count.
Signed-off-by: Emmanouil Maroudas <emmanouil.maroudas@...il.com>
Cc: Mauro Carvalho Chehab <mchehab@....samsung.com>
Cc: linux-edac <linux-edac@...r.kernel.org>
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 <bp@...e.de>
Signed-off-by: Jiri Slaby <jslaby@...e.cz>
---
drivers/edac/edac_mc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index f1f298b3ff16..6b4deff4e53d 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -960,7 +960,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;
}
--
2.10.0
Powered by blists - more mailing lists