From: Wei Yongjun Date: Tue, 10 Sep 2013 22:56:35 +0000 (+0800) Subject: drm/exynos: fix return value check in lowlevel_buffer_allocate() X-Git-Tag: v3.12-rc2~3^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=662bb6992a505ad41db3c8b52b1e70934507c2e2;p=pandora-kernel.git drm/exynos: fix return value check in lowlevel_buffer_allocate() In case of error, the function drm_prime_pages_to_sg() 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 Signed-off-by: Inki Dae --- Reading git-diff-tree failed