]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit38fbf4a5e0d6773cd8316f54e7a29b2a9477a8aa
tree97f1009589d38ede13865ee97c329edffa25289a
parentfd3240e842f2c650f44c2a37d22c2f4e2339ed74
[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