diff options
| author | 2018-04-10 23:23:49 -0400 | |
|---|---|---|
| committer | 2018-05-05 07:37:36 -0400 | |
| commit | fbfb3a75bd52249bbbbfe6e91b420cf2ae135ad5 (patch) | |
| tree | c31b857780bc2adbc86e2929f81975a8c9ff489a /scripts | |
| parent | media: pt1: fix strncmp() size warning (diff) | |
media: dvb-usb: Replace GFP_ATOMIC with GFP_KERNEL
Despite never getting called from atomic context,
usb URB memory allocations use GFP_ATOMIC, which does not sleep
for allocation.
GFP_ATOMIC is not necessary and can be replaced with GFP_KERNEL,
which can sleep and improve the possibility of sucessful allocation.
This is found by a static analysis tool named DCNS written by myself.
And I also manually check it.
[mchehab+samsung@kernel.org: merged 3 similar patches into one]
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
