diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2018-07-27 05:52:49 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-03 02:10:56 +0300 |
commit | 730129e9ba4dd668452371eba900e6e46f63b778 (patch) | |
tree | e7fd80f63ae587086f5110eaaf567c9ad9214453 /scripts/mkcompile_h | |
parent | f46bdacdc06a2256187f98d7d063d1bd5c318b12 (diff) | |
download | linux-730129e9ba4dd668452371eba900e6e46f63b778.tar.xz |
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 'scripts/mkcompile_h')
0 files changed, 0 insertions, 0 deletions