diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-14 16:47:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-15 23:16:25 +0200 |
commit | 7acef60455c4814a52afb8629d166a3b4dfa0ebb (patch) | |
tree | 529955a2c99c075f3c8e6940f83ff601aa1cf3bf /kernel | |
parent | net: phy: micrel: Add KSZ8041FTL fiber mode support (diff) | |
download | linux-7acef60455c4814a52afb8629d166a3b4dfa0ebb.tar.xz linux-7acef60455c4814a52afb8629d166a3b4dfa0ebb.zip |
rxrpc: checking for IS_ERR() instead of NULL
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 <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions