diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2018-07-30 05:33:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-02 19:16:17 -0400 |
commit | 2c3449fb95c318920ca8dc645d918d408db219ac (patch) | |
tree | 50c6ab7f8534f3e1eaaf1370415b35c089522caa /drivers/media/tuners/tuner-i2c.h | |
parent | 7a3369e8a78538e813e96294b8c7fce9feb76e0f (diff) | |
download | blackbird-obmc-linux-2c3449fb95c318920ca8dc645d918d408db219ac.tar.gz blackbird-obmc-linux-2c3449fb95c318920ca8dc645d918d408db219ac.zip |
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 'drivers/media/tuners/tuner-i2c.h')
0 files changed, 0 insertions, 0 deletions