diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2018-07-26 23:44:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-07-27 08:15:55 -0400 |
commit | 5bfffa0c86915e5afbfe56d9790457b2a9887f2d (patch) | |
tree | 7e8436afda5102623083b55321659183fe2644ed /drivers/media/platform | |
parent | 9d08ba6de0c52d87b1f9619df3f6faacde2134b7 (diff) |
media: pci: ivtv: Replace GFP_ATOMIC with GFP_KERNEL
ivtv_probe() and ivtvfb_init_card() are never called in atomic context.
They call kzalloc() 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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions