From: Guennadi Liakhovetski Date: Tue, 22 Mar 2011 12:24:58 +0000 (-0300) Subject: [media] videobuf2: fix core to correctly identify allocation failures X-Git-Tag: v2.6.39-rc6~40^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62a79436a54e5f33920bf95a3fae677540c7ef2c;p=pandora-kernel.git [media] videobuf2: fix core to correctly identify allocation failures The videobuf2-dma-contig allocator returns an ERR_PTR() on failure, not a NULL like all other allocators. Fix videobuf2-core to also correctly recognise those failures. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed