Commit 0ca40284 authored by Emmanouil Maroudas's avatar Emmanouil Maroudas Committed by Kamal Mostafa

EDAC: Increment correct counter in edac_inc_ue_error()

commit 993f88f1 upstream.

Fix typo in edac_inc_ue_error() to increment ue_noinfo_count instead of
ce_noinfo_count.
Signed-off-by: default avatarEmmanouil Maroudas <emmanouil.maroudas@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Fixes: 4275be63 ("edac: Change internal representation to work with layers")
Link: http://lkml.kernel.org/r/1461425580-5898-1-git-send-email-emmanouil.maroudas@gmail.comSigned-off-by: default avatarBorislav Petkov <bp@suse.de>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 7b7a9eff
...@@ -966,7 +966,7 @@ static void edac_inc_ue_error(struct mem_ctl_info *mci, ...@@ -966,7 +966,7 @@ static void edac_inc_ue_error(struct mem_ctl_info *mci,
mci->ue_mc += count; mci->ue_mc += count;
if (!enable_per_layer_report) { if (!enable_per_layer_report) {
mci->ce_noinfo_count += count; mci->ue_noinfo_count += count;
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment