EDAC: Increment correct counter in edac_inc_ue_error()
authorEmmanouil Maroudas <emmanouil.maroudas@gmail.com>
Sat, 23 Apr 2016 15:33:00 +0000 (18:33 +0300)
committerBorislav Petkov <bp@suse.de>
Sat, 23 Apr 2016 16:10:09 +0000 (18:10 +0200)
Fix typo in edac_inc_ue_error() to increment ue_noinfo_count instead of
ce_noinfo_count.

Signed-off-by: Emmanouil Maroudas <emmanouil.maroudas@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: linux-edac <linux-edac@vger.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@suse.de>
drivers/edac/edac_mc.c

index 1472f48c8ac6109677f28da6d1067c11e3e16fa4..6aa256b0a1ed34c2e1a4dff091c25dce5309fb34 100644 (file)
@@ -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;
        }
 
This page took 0.025477 seconds and 5 git commands to generate.