]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm/exynos: exynos_drm_ipp: fix return value check
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 4 Jul 2013 13:35:00 +0000 (21:35 +0800)
committerInki Dae <daeinki@gmail.com>
Mon, 29 Jul 2013 17:01:53 +0000 (02:01 +0900)
commitbe348790e46cf3783f265b0ecf9fa9dc68bd6f15
treed0665505b92727c008f8627e182becb4555a9a8c
parentbf903e4141fce4b35072d5b8fa0ddd299aaf01ea
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 <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c