diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2018-07-30 12:33:20 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-03 02:16:17 +0300 |
commit | 2c3449fb95c318920ca8dc645d918d408db219ac (patch) | |
tree | 50c6ab7f8534f3e1eaaf1370415b35c089522caa /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7a3369e8a78538e813e96294b8c7fce9feb76e0f (diff) | |
download | linux-2c3449fb95c318920ca8dc645d918d408db219ac.tar.xz |
media: usb: hackrf: Replace GFP_ATOMIC with GFP_KERNEL
hackrf_submit_urbs(), hackrf_alloc_stream_bufs() and hackrf_alloc_urbs()
are never called in atomic context.
They call usb_submit_urb(), usb_alloc_coherent() and usb_alloc_urb()
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions