diff options
author | 2018-08-04 08:40:09 +0800 | |
---|---|---|
committer | 2018-08-04 13:08:06 -0700 | |
commit | 039b1d5e5862375b0da534bb75fc580eaa547d53 (patch) | |
tree | 8356a6ddae24b1a619a7e46e06eeca91770ce7be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: Remove some unneeded semicolon (diff) | |
download | linux-rng-039b1d5e5862375b0da534bb75fc580eaa547d53.tar.xz linux-rng-039b1d5e5862375b0da534bb75fc580eaa547d53.zip |
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