Home
last modified time | relevance | path

Searched hist:"5 bfffa0c86915e5afbfe56d9790457b2a9887f2d" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/pci/ivtv/
H A Divtvfb.cdiff 5bfffa0c86915e5afbfe56d9790457b2a9887f2d Thu Jul 26 22:44:24 CDT 2018 Jia-Ju Bai <baijiaju1990@gmail.com> 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>
H A Divtv-driver.cdiff 5bfffa0c86915e5afbfe56d9790457b2a9887f2d Thu Jul 26 22:44:24 CDT 2018 Jia-Ju Bai <baijiaju1990@gmail.com> 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>