Thread (3 messages) flat view 3 messages, 3 authors, 2012-09-21
DORMANTno replies

Re: [PATCH] at91ether: return PTR_ERR if call to clk_get fails

From: David Miller <davem@davemloft.net>
Date: 2012-09-21 02:22:21
Also in: linux-arm-kernel

From: Nicolas Ferre <redacted>
Date: Thu, 20 Sep 2012 09:42:14 +0200
On 09/20/2012 09:04 AM, Devendra Naga :
quoted
we are currently returning ENODEV, as the clk_get may give a exact
error code in its returned pointer, assign it to the ret by using the
PTR_ERR function, so that the subsequent goto label will jump to the
error path and clean the driver and return the error correctly.

Signed-off-by: Devendra Naga <redacted>
Acked-by: Nicolas Ferre <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help