Thread (3 messages) 3 messages, 3 authors, 2012-09-21

Re: [PATCH] can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock()

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2012-09-21 08:09:51
Also in: linux-can, linux-devicetree

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>
Applied to can-next

Tnx,
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help