[PATCH] ARM: OMAP: omap_device: fix return value check in omap_device_build_ss()

Kevin Hilman khilman at deeprootsystems.com
Tue Oct 2 17:36:52 EDT 2012


Wei Yongjun <weiyj.lk at gmail.com> writes:

> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> In case of error, the function omap_device_alloc() returns ERR_PTR()
> and never returns NULL pointer. The NULL test in the return value
> check should be replaced with IS_ERR().
>
> dpatch engine is used to auto generated this patch.
> (https://github.com/weiyj/dpatch)
>
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>

Thanks, queueing this for v3.7-rc.

Kevin



More information about the linux-arm-kernel mailing list