]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
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)
committerKamal Mostafa <kamal@canonical.com>
Thu, 15 Sep 2016 16:34:12 +0000 (09:34 -0700)
BugLink: http://bugs.launchpad.net/bugs/1621113
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@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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/edac/edac_mc.c

index 1b2c2187b34708215045d3413b28e4c7baa05c1a..dc68394da682f4ed43b5dc77017abeffd7c460cf 100644 (file)
@@ -966,7 +966,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;
        }