From: Wei Yongjun Date: Wed, 30 Oct 2013 03:15:13 +0000 (-0300) Subject: [media] v4l: ti-vpe: fix return value check in vpe_probe() X-Git-Tag: v3.14-rc1~20^2~359 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68231a1b5e95a532f4d5135cdbd0fe6b0bfcb3b;p=pandora-kernel.git [media] v4l: ti-vpe: fix return value check in vpe_probe() In case of error, the function devm_kzalloc() and devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Reviewed-by: Archit Taneja Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed