summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tuner-i2c.h
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-30 05:33:20 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-02 19:16:17 -0400
commit2c3449fb95c318920ca8dc645d918d408db219ac (patch)
tree50c6ab7f8534f3e1eaaf1370415b35c089522caa /drivers/media/tuners/tuner-i2c.h
parent7a3369e8a78538e813e96294b8c7fce9feb76e0f (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud