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:
338d0f0
)
i7core_edac: fixed typo in error count calculation
author
Mathias Krause
<
[email protected]
>
Thu, 18 Aug 2011 07:17:00 +0000
(09:17 +0200)
committer
Linus Torvalds
<
[email protected]
>
Thu, 18 Aug 2011 21:07:15 +0000
(14:07 -0700)
Based on a patch from the PaX Team, found during a clang analysis pass.
Signed-off-by: Mathias Krause <
[email protected]
>
Acked-by: Mauro Carvalho Chehab <
[email protected]
>
Cc: PaX Team <
[email protected]
>
Cc:
[email protected]
[v2.6.35+]
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/edac/i7core_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/i7core_edac.c
b/drivers/edac/i7core_edac.c
index 04f1e7ce02b196868d42253243d79d1044d9b7cc..f6cf448d69b4f468160e19fc29fab0ea473f04b8 100644
(file)
--- a/
drivers/edac/i7core_edac.c
+++ b/
drivers/edac/i7core_edac.c
@@
-1670,7
+1670,7
@@
static void i7core_mce_output_error(struct mem_ctl_info *mci,
char *type, *optype, *err, *msg;
unsigned long error = m->status & 0x1ff0000l;
u32 optypenum = (m->status >> 4) & 0x07;
- u32 core_err_cnt = (m->status >> 38) &
&
0x7fff;
+ u32 core_err_cnt = (m->status >> 38) & 0x7fff;
u32 dimm = (m->misc >> 16) & 0x3;
u32 channel = (m->misc >> 18) & 0x3;
u32 syndrome = m->misc >> 32;