[PATCH net-next 01/14] rxrpc: checking for IS_ERR() instead of NULL [ver #2]

2016-06-22 Thread David Howells
From: Dan Carpenter rxrpc_lookup_peer_rcu() and rxrpc_lookup_peer() return NULL on error, never error pointers, so IS_ERR() can't be used. Fix three callers of those functions. Fixes: be6e6707f6ee ('rxrpc: Rework peer object handling to use hash table and RCU') Signed-off-by: Dan Carpenter Si

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

2016-06-22 Thread David Howells
From: Dan Carpenter rxrpc_lookup_peer_rcu() and rxrpc_lookup_peer() return NULL on error, never error pointers, so IS_ERR() can't be used. Fix three callers of those functions. Fixes: be6e6707f6ee ('rxrpc: Rework peer object handling to use hash table and RCU') Signed-off-by: Dan Carpenter Si