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

tony.cho tony.cho at atmel.com
Mon Jul 27 02:55:09 UTC 2015


Hi,
This is not called in IRQ context and not even held in the spin lock. 
All of the macros in the driver for the Linux APIs will be removed soon. 
I expect all of concerns will be also removed at that time.

Thanks,
Tony.

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 <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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Cho, Tony
Manager, Staff Engineer | Connectivity System Software Team | Atmel Korea (Wireless solutions BU)
#409, Kins Tower, Jeongja-Dong, Bundang-Gu, Seongnam-Si, Gyeonggi-Do, 463-782, Korea
Phone:82 31 784 8400(Ext. 317); Mobile: 82 10 7232 1523
email: tony.cho at atmel.com



More information about the devel mailing list