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

Dan Carpenter dan.carpenter at oracle.com
Fri Jul 24 00:44:55 UTC 2015


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 <chaehyun.lim at gmail.com>
> ---
> 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 or in IRQ context?

regards,
dan carpenter



More information about the devel mailing list