Thread (17 messages) 17 messages, 8 authors, 2013-01-12

Re: [PATCH 4/5] net: sfc: fix return value check in efx_ptp_probe_channel().

From: David Miller <davem@davemloft.net>
Date: 2012-12-12 05:15:55
Also in: lkml, netdev

From: Cyril Roelandt <redacted>
Date: Wed, 12 Dec 2012 01:24:53 +0100
The ptp_clock_register() returns ERR_PTR() and never returns NULL. Replace the
NULL check by a call to IS_ERR().

Signed-off-by: Cyril Roelandt <redacted>
I'll let Ben queue this up.

Probably he'll want to avoid potentially leaving an ERR_PTR
in ptp->phc_clock even if, with this fix, that would be
harmless.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help