On Thu, 2015-16-04 at 12:18:50 UTC, weiyj...@163.com wrote:
From: Wei Yongjun yongjun_...@trendmicro.com.cn
In case of error, the functions platform_get_resource() and kmalloc()
returns NULL not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
From: Wei Yongjun yongjun_...@trendmicro.com.cn
In case of error, the functions platform_get_resource() and kmalloc()
returns NULL not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---