[PATCH V2 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-23 Thread Chaehyun Lim
Use kmalloc and kmalloc_array instead of WILC_MALLOC. Signed-off-by: Chaehyun Lim --- V2: Use GFP_KERNEL flag instead of GFP_ATOMIC drivers/staging/wilc1000/coreconfigurator.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigur

Re: [PATCH V2 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-23 Thread Dan Carpenter
On Fri, Jul 24, 2015 at 08:55:53AM +0900, Chaehyun Lim wrote: > Use kmalloc and kmalloc_array instead of WILC_MALLOC. > > Signed-off-by: Chaehyun Lim > --- > V2: Use GFP_KERNEL flag instead of GFP_ATOMIC This is probably the correct thing but how did you check that we aren't holding a spin_lock

Re: [PATCH V2 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-27 Thread Dan Carpenter
> On 2015년 07월 24일 09:44, Dan Carpenter wrote: > >On Fri, Jul 24, 2015 at 08:55:53AM +0900, Chaehyun Lim wrote: > >>Use kmalloc and kmalloc_array instead of WILC_MALLOC. > >> > >>Signed-off-by: Chaehyun Lim > >>--- > >>V2: Use GFP_KERNEL flag instead of GFP_ATOMIC > >This is probably the correct t

Re: [PATCH V2 1/3] staging: wilc1000: coreconfigurator.c: remove WILC_MALLOC

2015-07-29 Thread Greg KH
On Fri, Jul 24, 2015 at 08:55:53AM +0900, Chaehyun Lim wrote: > Use kmalloc and kmalloc_array instead of WILC_MALLOC. > > Signed-off-by: Chaehyun Lim > --- > V2: Use GFP_KERNEL flag instead of GFP_ATOMIC Please answer Dan's question for the next time you resend this series, I can't take these as