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

Kim Phillips kim.phillips at freescale.com
Fri Sep 14 10:04:39 EST 2012


On Thu, 13 Sep 2012 18:55:29 +0800
Shaohui Xie <Shaohui.Xie at freescale.com> 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 <Shaohui.Xie at freescale.com>
> ---

this fixes a 'WARNING: at lib/kobject.c:593' on a p2020, so:

Tested-by: Kim Phillips <kim.phillips at freescale.com>

Kim



More information about the Linuxppc-dev mailing list