[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130716122237.GF3125@lukather>
Date: Tue, 16 Jul 2013 14:22:37 +0200
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: mturquette@...aro.org, emilio@...pez.com.ar,
gregory.clement@...e-electrons.com, cate@...eee.net,
yongjun_wei@...ndmicro.com.cn,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] clk: sunxi: fix return value check
Hi Wei,
On Tue, Jul 16, 2013 at 08:17:45PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function clk_register_composite() and
> clk_register_factors() returns ERR_PTR() not NULL. The NULL test
> in the return value check should be replaced with IS_ERR().
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Thanks for this patch, but Axel Lin already sent a equivalent patch for
this issue last week:
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/183138.html
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists