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:
1f39581
)
sb_edac: Fix typo computing number of banks
author
Tony Luck
<tony.luck@intel.com>
Tue, 2 Dec 2014 17:41:58 +0000
(09:41 -0800)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Tue, 2 Dec 2014 18:46:33 +0000
(16:46 -0200)
Code will always think there are 16 banks because of a typo
Reported-by: Misha
Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/edac/sb_edac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/sb_edac.c
b/drivers/edac/sb_edac.c
index 993e8b61c4b29a58b5f124d04f41025a78825165..63aa6730e89ea511492f6e101f48107fa59c8c3e 100644
(file)
--- a/
drivers/edac/sb_edac.c
+++ b/
drivers/edac/sb_edac.c
@@
-901,7
+901,7
@@
static int get_dimm_config(struct mem_ctl_info *mci)
else
edac_dbg(0, "Memory is unregistered\n");
- if (mtype == MEM_DDR4 || MEM_RDDR4)
+ if (mtype == MEM_DDR4 ||
mtype ==
MEM_RDDR4)
banks = 16;
else
banks = 8;