linux-stable/drivers/net/ethernet/cisco/enic
Jia-Ju Bai 039b1d5e58 net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL
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>
2018-08-04 13:08:06 -07:00
..
cq_desc.h
cq_enet_desc.h
enic.h enic: set IG desc cache flag in open 2018-03-04 18:19:26 -05:00
enic_api.c
enic_api.h
enic_clsf.c enic: initialize enic->rfs_h.lock in enic_probe 2018-06-20 07:49:30 +09:00
enic_clsf.h treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
enic_dev.c
enic_dev.h
enic_ethtool.c enic: fix UDP rss bits 2018-06-06 09:09:09 -04:00
enic_main.c enic: do not call enic_change_mtu in enic_probe 2018-07-31 14:42:49 -07:00
enic_pp.c
enic_pp.h
enic_res.c enic: fix UDP rss bits 2018-06-06 09:09:09 -04:00
enic_res.h ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
Kconfig
Makefile
rq_enet_desc.h
vnic_cq.c
vnic_cq.h
vnic_dev.c net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL 2018-08-04 13:08:06 -07:00
vnic_dev.h enic: fix UDP rss bits 2018-06-06 09:09:09 -04:00
vnic_devcmd.h enic: fix UDP rss bits 2018-06-06 09:09:09 -04:00
vnic_enet.h enic: add devcmds for vxlan offload 2017-02-09 17:24:29 -05:00
vnic_intr.c
vnic_intr.h
vnic_nic.h enic: fix UDP rss bits 2018-06-06 09:09:09 -04:00
vnic_resource.h
vnic_rq.c net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL 2018-08-04 13:08:06 -07:00
vnic_rq.h enic: Remove local ndo_busy_poll() implementation. 2017-02-03 17:28:21 -05:00
vnic_rss.h
vnic_stats.h
vnic_vic.c
vnic_vic.h
vnic_wq.c net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL 2018-08-04 13:08:06 -07:00
vnic_wq.h
wq_enet_desc.h