summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-26 22:52:49 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-02 19:10:56 -0400
commit730129e9ba4dd668452371eba900e6e46f63b778 (patch)
treee7fd80f63ae587086f5110eaaf567c9ad9214453 /drivers/media/platform
parentf46bdacdc06a2256187f98d7d063d1bd5c318b12 (diff)
downloadblackbird-op-linux-730129e9ba4dd668452371eba900e6e46f63b778.tar.gz
blackbird-op-linux-730129e9ba4dd668452371eba900e6e46f63b778.zip
media: dvb-frontends: rtl2832_sdr: Replace GFP_ATOMIC with GFP_KERNEL
rtl2832_sdr_submit_urbs(), rtl2832_sdr_alloc_stream_bufs(), and rtl2832_sdr_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/platform')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud