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:
b298cec
)
edac: ppc mpc85xx fix mc err detect
author
Dave Jiang
<
[email protected]
>
Tue, 21 Apr 2009 19:24:56 +0000
(12:24 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 21 Apr 2009 20:41:51 +0000
(13:41 -0700)
Error found by Jeff Haran.
The error detect register is 0s when no errors are detected. The check
code is incorrect, so reverse check sense.
Reported-by: Jeff Haran <
[email protected]
>
Signed-off-by: Dave Jiang <
[email protected]
>
Signed-off-by: Doug Thompson <
[email protected]
>
Cc: Benjamin Herrenschmidt <
[email protected]
>
Acked-by: Kumar Gala <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/edac/mpc85xx_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/mpc85xx_edac.c
b/drivers/edac/mpc85xx_edac.c
index 4637a4a757df65f29144d13b60d82f4dea3671c8..7c8c2d72916f60f0ade44a323a7f01cc644e0d21 100644
(file)
--- a/
drivers/edac/mpc85xx_edac.c
+++ b/
drivers/edac/mpc85xx_edac.c
@@
-674,7
+674,7
@@
static void mpc85xx_mc_check(struct mem_ctl_info *mci)
int row_index;
err_detect = in_be32(pdata->mc_vbase + MPC85XX_MC_ERR_DETECT);
- if (err_detect)
+ if (
!
err_detect)
return;
mpc85xx_mc_printk(mci, KERN_ERR, "Err Detect Register: %#8.8x\n",