projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
979570e
)
i3200_edac: Fix memory rank size
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 2 Aug 2012 20:58:23 +0000
(17:58 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 25 Sep 2012 10:32:33 +0000
(07:32 -0300)
commit
a895bf8b1e1ea4c032a8fa8a09475a2ce09fe77a
incorrectly
changed the logic that fills the memory bank size. Fix it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i3200_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/i3200_edac.c
b/drivers/edac/i3200_edac.c
index 47180a08edad28c7c95fea0cd51e9b7b15172f27..b6653a6fc5d56af68e55b0f2ea10855a1927ee2f 100644
(file)
--- a/
drivers/edac/i3200_edac.c
+++ b/
drivers/edac/i3200_edac.c
@@
-391,7
+391,7
@@
static int i3200_probe1(struct pci_dev *pdev, int dev_idx)
for (j = 0; j < nr_channels; j++) {
struct dimm_info *dimm = csrow->channels[j]->dimm;
- dimm->nr_pages = nr_pages
/ nr_channels
;
+ dimm->nr_pages = nr_pages;
dimm->grain = nr_pages << PAGE_SHIFT;
dimm->mtype = MEM_DDR2;
dimm->dtype = DEV_UNKNOWN;