From: Wei Yongjun Date: Sun, 2 Dec 2012 09:18:35 +0000 (-0300) Subject: [media] media: davinci: vpbe: fix return value check in vpbe_display_reqbufs() X-Git-Tag: v3.9-rc1~93^2~494 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d22f1086d24f61e271e1e84c0c27db4ad495e8f;p=pandora-kernel.git [media] media: davinci: vpbe: fix return value check in vpbe_display_reqbufs() In case of error, the function vb2_dma_contig_init_ctx() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Acked-by: Prabhakar Lad Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed