[media] media: vb2: add __GFP_NOWARN to dma-sg allocator
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 1 Jun 2011 15:57:37 +0000 (12:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 01:31:53 +0000 (22:31 -0300)
commita52a82fc3a397261ecbcbd441498be58997379c8
tree97f1009589d38ede13865ee97c329edffa25289a
parent9a7b2d1f0eb0a6b674726c9a9d77ce83fd0b27fe
[media] media: vb2: add __GFP_NOWARN to dma-sg allocator

Add __GFP_NOWARN parameter to videobuf2 dma-sg allocator to prevent
kernel warning and stack dump if there is not enough memory available.
Videobuf2 and drivers should correctly handle no memory case, so there
is no need for stack dump and extensive log.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-dma-sg.c
This page took 0.027257 seconds and 5 git commands to generate.