commit | 0e4699e4a37be4cfa07f0340cef6a3fa6a46f5f8 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Jun 18 11:44:03 2016 +0300 |
committer | David Howells <dhowells@redhat.com> | Wed Jun 22 09:09:58 2016 +0100 |
tree | b30879ac5a1734d71521923d429a407a2bf273dc | |
parent | 0e9390ebf1fe0d38f7df66a3d8183cbc5349a564 [diff] |
rxrpc: checking for IS_ERR() instead of NULL 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 <dan.carpenter@oracle.com> Signed-off-by: David Howells <dhowells@redhat.com>