mirror of https://gitee.com/openkylin/linux.git
039b1d5e58
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. Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Acked-by: Govindarajulu Varadarajan <gvaradar@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cq_desc.h | ||
cq_enet_desc.h | ||
enic.h | ||
enic_api.c | ||
enic_api.h | ||
enic_clsf.c | ||
enic_clsf.h | ||
enic_dev.c | ||
enic_dev.h | ||
enic_ethtool.c | ||
enic_main.c | ||
enic_pp.c | ||
enic_pp.h | ||
enic_res.c | ||
enic_res.h | ||
rq_enet_desc.h | ||
vnic_cq.c | ||
vnic_cq.h | ||
vnic_dev.c | ||
vnic_dev.h | ||
vnic_devcmd.h | ||
vnic_enet.h | ||
vnic_intr.c | ||
vnic_intr.h | ||
vnic_nic.h | ||
vnic_resource.h | ||
vnic_rq.c | ||
vnic_rq.h | ||
vnic_rss.h | ||
vnic_stats.h | ||
vnic_vic.c | ||
vnic_vic.h | ||
vnic_wq.c | ||
vnic_wq.h | ||
wq_enet_desc.h |