Re: [PATCH net-next] rxrpc: checking for IS_ERR() instead of NULL

2016-07-15 Thread David Miller
From: David Howells Date: Thu, 14 Jul 2016 15:47:01 +0100 > From: Dan Carpenter > > The rxrpc_lookup_peer() function returns NULL on error, it never returns > error pointers. > > Fixes: 8496af50eb38 ('rxrpc: Use RCU to access a peer's service connection > tree') > Signed-off-by: Dan Carpenter

[PATCH net-next] rxrpc: checking for IS_ERR() instead of NULL

2016-07-14 Thread David Howells
From: Dan Carpenter The rxrpc_lookup_peer() function returns NULL on error, it never returns error pointers. Fixes: 8496af50eb38 ('rxrpc: Use RCU to access a peer's service connection tree') Signed-off-by: Dan Carpenter Signed-off-by: David Howells --- net/rxrpc/conn_service.c |2 +- 1

Re: [patch net-next] rxrpc: checking for IS_ERR() instead of NULL

2016-06-21 Thread David Howells
Dan Carpenter wrote: > rxrpc_lookup_peer_rcu() returns NULL on error, it never returns error > pointers. > > Fixes: be6e6707f6ee ('rxrpc: Rework peer object handling to use hash table > and RCU') > Signed-off-by: Dan Carpenter Applied.

[patch net-next] rxrpc: checking for IS_ERR() instead of NULL

2016-06-18 Thread Dan Carpenter
rxrpc_lookup_peer_rcu() returns NULL on error, it never returns error pointers. Fixes: be6e6707f6ee ('rxrpc: Rework peer object handling to use hash table and RCU') Signed-off-by: Dan Carpenter diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c index 47fb167..e11e4d7 100644 --- a/net/rxrpc/inpu