Re: [PATCH] edac/85xx: fix error handle of mpc85xx_mc_err_probe

From
Kim Phillips <hidden>
Date
2012-09-14 00:07:02
Also in
lkml
Reply to
Shaohui Xie, 2012-09-13
On Thu, 13 Sep 2012 18:55:29 +0800
Shaohui Xie [off-list ref] wrote:
Error handle in case of DDR ECC off is wrong, sysfs entries have not been
created, so edac_mc_free which frees a mci instance should not be called.
Also, free mci's memory in this case.

Signed-off-by: Shaohui Xie <redacted>
---
this fixes a 'WARNING: at lib/kobject.c:593' on a p2020, so:

Tested-by: Kim Phillips <redacted>

Kim
Thread (8 messages) 8 messages, 4 authors, last reply 2012-09-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help