Re: [EDAC ABI v13 24/25] edac: change the mem allocation scheme to make Documentation/kobject.txt happy

2012-04-24 Thread Joe Perches
On Thu, 2012-04-19 at 10:14 -0300, Mauro Carvalho Chehab wrote: diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c [] @@ -296,7 +296,7 @@ struct mem_ctl_info *edac_mc_alloc(unsigned edac_index, /* * Alocate and fill the csrow/channels structs */ - mci-csrows

Re: [EDAC ABI v13 24/25] edac: change the mem allocation scheme to make Documentation/kobject.txt happy

2012-04-19 Thread Mauro Carvalho Chehab
Hi Joe, Em 17-04-2012 18:17, Joe Perches escreveu: On Mon, 2012-04-16 at 17:38 -0300, Mauro Carvalho Chehab wrote: Kernel kobjects have rigid rules: each container object should be dynamically allocated, and can't be allocated into a single kmalloc. EDAC never obeyed this rule: it has a

Re: [EDAC ABI v13 24/25] edac: change the mem allocation scheme to make Documentation/kobject.txt happy

2012-04-18 Thread Joe Perches
On Mon, 2012-04-16 at 17:38 -0300, Mauro Carvalho Chehab wrote: Kernel kobjects have rigid rules: each container object should be dynamically allocated, and can't be allocated into a single kmalloc. EDAC never obeyed this rule: it has a single malloc function that allocates all needed data