projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5c0903
)
EDAC: Fix MC scrub mode comparsion bug for correctable errors
author
Loc Ho
<lho@apm.com>
Thu, 8 May 2014 23:03:16 +0000
(17:03 -0600)
committer
Borislav Petkov
<bp@suse.de>
Fri, 9 May 2014 07:35:04 +0000
(09:35 +0200)
The MC structure field scrub_mode is of integer type - not bit field.
Use it accordingly.
Signed-off-by: Loc Ho <lho@apm.com>
Link:
http://lkml.kernel.org/r/1399590199-12256-2-git-send-email-lho@apm.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/edac_mc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/edac_mc.c
b/drivers/edac/edac_mc.c
index 33edd67663443123ab73dc91ee18550c1a9b62fb..2c694b5297cc3a9dc5840f8d348bc66330d12d1c 100644
(file)
--- a/
drivers/edac/edac_mc.c
+++ b/
drivers/edac/edac_mc.c
@@
-1018,7
+1018,7
@@
static void edac_ce_error(struct mem_ctl_info *mci,
}
edac_inc_ce_error(mci, enable_per_layer_report, pos, error_count);
- if (mci->scrub_mode
&
SCRUB_SW_SRC) {
+ if (mci->scrub_mode
==
SCRUB_SW_SRC) {
/*
* Some memory controllers (called MCs below) can remap
* memory so that it is still available at a different