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:
cd1be31
)
EDAC, pnd2_edac: Fix reported DIMM number
author
Qiuxu Zhuo
<
[email protected]
>
Sat, 25 Mar 2017 11:29:01 +0000
(19:29 +0800)
committer
Borislav Petkov
<
[email protected]
>
Sun, 26 Mar 2017 07:36:28 +0000
(09:36 +0200)
DIMM number passed to edac_mc_handle_error() was accidentally hardcoded
to zero. Pass in the correct daddr->dimm value.
Signed-off-by: Qiuxu Zhuo <
[email protected]
>
Signed-off-by: Borislav Petkov <
[email protected]
>
drivers/edac/pnd2_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/pnd2_edac.c
b/drivers/edac/pnd2_edac.c
index ec2e349d728de6c4de06f1d7690d60723d6f6bf4..928e0dba41fc2351793a7924830ad53259bdfb6e 100644
(file)
--- a/
drivers/edac/pnd2_edac.c
+++ b/
drivers/edac/pnd2_edac.c
@@
-1164,7
+1164,7
@@
static void pnd2_mce_output_error(struct mem_ctl_info *mci, const struct mce *m,
/* Call the helper to output message */
edac_mc_handle_error(tp_event, mci, core_err_cnt, m->addr >> PAGE_SHIFT,
- m->addr & ~PAGE_MASK, 0, daddr->chan,
0
, -1, optype, msg);
+ m->addr & ~PAGE_MASK, 0, daddr->chan,
daddr->dimm
, -1, optype, msg);
return;