diff options
author | Emmanouil Maroudas <emmanouil.maroudas@gmail.com> | 2016-04-23 11:33:00 -0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-04-23 12:10:09 -0400 |
commit | 993f88f1cc7f0879047ff353e824e5cc8f10adfc (patch) | |
tree | 6720180450835fd60ed2bd6fdc11200f59b7e06c | |
parent | ad08c4e97485694fee5ebb181983514facedbb19 (diff) |
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 <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>
-rw-r--r-- | drivers/edac/edac_mc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
923 | mci->ue_mc += count; | 923 | mci->ue_mc += count; |
924 | 924 | ||
925 | if (!enable_per_layer_report) { | 925 | if (!enable_per_layer_report) { |
926 | mci->ce_noinfo_count += count; | 926 | mci->ue_noinfo_count += count; |
927 | return; | 927 | return; |
928 | } | 928 | } |
929 | 929 | ||