* Kevin Hilman khil...@linaro.org [130826 17:17]:
Tony Lindgren t...@atomide.com writes:
Kevin,
* Wei Yongjun weiyj...@gmail.com [130704 06:48]:
From: Wei Yongjun yongjun_...@trendmicro.com.cn
In case of error, the function omap_device_alloc() returns ERR_PTR()
and never returns
Tony Lindgren t...@atomide.com writes:
Kevin,
* Wei Yongjun weiyj...@gmail.com [130704 06:48]:
From: Wei Yongjun yongjun_...@trendmicro.com.cn
In case of error, the function omap_device_alloc() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be
Kevin,
* Wei Yongjun weiyj...@gmail.com [130704 06:48]:
From: Wei Yongjun yongjun_...@trendmicro.com.cn
In case of error, the function omap_device_alloc() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Looks like this is
From: Wei Yongjun yongjun_...@trendmicro.com.cn
In case of error, the function omap_device_alloc() 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
---