diff options
| author | Jia-Ju Bai <[email protected]> | 2018-04-10 23:23:49 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-05-05 07:37:36 -0400 |
| commit | fbfb3a75bd52249bbbbfe6e91b420cf2ae135ad5 (patch) | |
| tree | c31b857780bc2adbc86e2929f81975a8c9ff489a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 5ebaf32866b649cc4e384725ce2742d705c064e6 (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.
[[email protected]: merged 3 similar patches into one]
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions