projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rxrpc: checking for IS_ERR() instead of NULL
[cascardo/linux.git]
/
net
/
rxrpc
/
call_accept.c
diff --git
a/net/rxrpc/call_accept.c
b/net/rxrpc/call_accept.c
index
50136c7
..
553b67c
100644
(file)
--- a/
net/rxrpc/call_accept.c
+++ b/
net/rxrpc/call_accept.c
@@
-96,7
+96,7
@@
static int rxrpc_accept_incoming_call(struct rxrpc_local *local,
notification->mark = RXRPC_SKB_MARK_NEW_CALL;
peer = rxrpc_lookup_peer(local, srx, GFP_NOIO);
- if (
IS_ERR(peer)
) {
+ if (
!peer
) {
_debug("no peer");
ret = -EBUSY;
goto error;