Re: [PATCH] net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL
From: Govindarajulu Varadarajan (gvaradar)
Date: Fri Aug 03 2018 - 21:12:14 EST
On Sat, 2018-08-04 at 08:40 +0800, Jia-Ju Bai wrote:
> vnic_dev_register(), vnic_rq_alloc_bufs() and vnic_wq_alloc_bufs()
> are never called in atomic context.
> They call kzalloc() with GFP_ATOMIC, which is not necessary.
> GFP_ATOMIC can be replaced with GFP_KERNEL.
>
> This is found by a static analysis tool named DCNS written by myself.
Looks good to me. Thanks you.
Acked-by: Govindarajulu Varadarajan <gvaradar@xxxxxxxxx>