Re: [PATCH] can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock()
From: Wolfgang Grandegger <hidden>
Date: 2012-09-21 07:14:08
Also in:
linux-can, netdev
From: Wolfgang Grandegger <hidden>
Date: 2012-09-21 07:14:08
Also in:
linux-can, netdev
On 09/21/2012 09:09 AM, Wei Yongjun wrote:
From: Wei Yongjun <redacted> 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 <redacted>
Acked-by: Wolfgang Grandegger <redacted> Thanks, Wolfgang.