From: Wei Yongjun Date: Thu, 4 Jul 2013 13:35:00 +0000 (+0800) Subject: drm/exynos: exynos_drm_ipp: fix return value check X-Git-Tag: v3.11-rc4~18^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be348790e46cf3783f265b0ecf9fa9dc68bd6f15;p=pandora-kernel.git drm/exynos: exynos_drm_ipp: fix return value check In case of error, the function ipp_find_obj() 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 Reviewed-by: Tomasz Figa Signed-off-by: Inki Dae --- Reading git-diff-tree failed