[PATCH] drm/exynos: exynos_drm_ipp: fix return value check

2013-07-06 Thread Tomasz Figa
On Thursday 04 of July 2013 21:35:00 Wei Yongjun wrote: > From: Wei Yongjun > > 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 > --- >

[PATCH] drm/exynos: exynos_drm_ipp: fix return value check

2013-07-05 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn 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_...@trendmicro.com.cn ---

Re: [PATCH] drm/exynos: exynos_drm_ipp: fix return value check

2013-07-05 Thread Tomasz Figa
On Thursday 04 of July 2013 21:35:00 Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn 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

[PATCH] drm/exynos: exynos_drm_ipp: fix return value check

2013-07-04 Thread Wei Yongjun
From: Wei Yongjun 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 --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 12