[PATCH] davinci: fix return value check by using IS_ERR in tnetv107x_devices_init()

Sekhar Nori nsekhar at ti.com
Fri Oct 12 08:50:15 EDT 2012


Hi Wei,

On 9/21/2012 11:42 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> In case of error, the function clk_get() returns ERR_PTR() not
> NULL pointer. The NULL test in the error handling 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>

Queuing this for v3.8. While committing, I added ARM: prefix to the
subject line as is the norm with all arch/arm/* patches.

Thanks,
Sekhar



More information about the linux-arm-kernel mailing list