diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2018-08-04 03:40:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-04 23:08:06 +0300 |
commit | 039b1d5e5862375b0da534bb75fc580eaa547d53 (patch) | |
tree | 8356a6ddae24b1a619a7e46e06eeca91770ce7be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 07d53ae4fbdf7458f4d51249aa24d75c76fe52a8 (diff) | |
download | linux-039b1d5e5862375b0da534bb75fc580eaa547d53.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions