Searched hist:"1 f70e079" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem.c | 1f70e079 Tue Sep 10 17:56:12 CDT 2013 Wei Yongjun <yongjun_wei@trendmicro.com.cn> drm/msm: fix return value check in ERR_PTR()
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 <yongjun_wei@trendmicro.com.cn> 1f70e079 Tue Sep 10 17:56:12 CDT 2013 Wei Yongjun <yongjun_wei@trendmicro.com.cn> drm/msm: fix return value check in ERR_PTR() 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 <yongjun_wei@trendmicro.com.cn>
|