diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2018-07-30 12:25:07 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-03 02:15:29 +0300 |
commit | 2453e60702e1a4d22720e3b6aac543e1a96fcd6b (patch) | |
tree | 65760501419c9e8942aef6ee69850d304f93156d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 61e641f36ed81ae473177c085f0bfd83ad3b55ed (diff) | |
download | linux-2453e60702e1a4d22720e3b6aac543e1a96fcd6b.tar.xz |
media: usb: em28xx: Replace GFP_ATOMIC with GFP_KERNEL in em28xx_init_usb_xfer()
em28xx_init_usb_xfer() is never called in atomic context.
It calls usb_submit_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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions