[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <505C13C0.8090200@grandegger.com>
Date: Fri, 21 Sep 2012 09:14:08 +0200
From: Wolfgang Grandegger <wg@...ndegger.com>
To: Wei Yongjun <weiyj.lk@...il.com>
CC: mkl@...gutronix.de, grant.likely@...retlab.ca,
rob.herring@...xeda.com, yongjun_wei@...ndmicro.com.cn,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
devicetree-discuss@...ts.ozlabs.org
Subject: Re: [PATCH] can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock()
On 09/21/2012 09:09 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function clk_get() returns ERR_PTR()
> and never returns 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@...ndmicro.com.cn>
Acked-by: Wolfgang Grandegger <wg@...ndegger.com>
Thanks,
Wolfgang.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists