diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-12 03:30:25 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-24 13:20:37 (GMT) |
commit | 6fe1108f14f4f9581af97cab752f37dc8fa9fdec (patch) | |
tree | 88484ab0733ed38cf09526f9d47e4c52d8ac0430 /drivers/edac/edac_mc.c | |
parent | 39300e7143f8ef81b07cee3d8b86880bc4311ea0 (diff) | |
download | linux-6fe1108f14f4f9581af97cab752f37dc8fa9fdec.tar.xz |
edac_core: Do a better job with node removal
Make sure we remove groups at the right order
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r-- | drivers/edac/edac_mc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 6b7e723..b10b45cc 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c @@ -207,6 +207,7 @@ struct mem_ctl_info *edac_mc_alloc(unsigned sz_pvt, unsigned nr_csrows, } mci->op_state = OP_ALLOC; + INIT_LIST_HEAD(&mci->grp_kobj_list); /* * Initialize the 'root' kobj for the edac_mc controller |