aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/peer_object.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-10-13 08:39:52 +0100
committerDavid Howells <dhowells@redhat.com>2016-10-13 08:39:52 +0100
commit54fde4234579d3b1311b3ed1a1e95526a7cfdcd7 (patch)
tree0694aa1b68d45dc1b06fb4ae2dc40027dc6b693d /net/rxrpc/peer_object.c
parentafs: unmapping the wrong buffer (diff)
downloadlinux-dev-54fde4234579d3b1311b3ed1a1e95526a7cfdcd7.tar.xz
linux-dev-54fde4234579d3b1311b3ed1a1e95526a7cfdcd7.zip
rxrpc: Fix checker warning by not passing always-zero value to ERR_PTR()
Fix the following checker warning: net/rxrpc/call_object.c:279 rxrpc_new_client_call() warn: passing zero to 'ERR_PTR' where a value that's always zero is passed to ERR_PTR() so that it can be passed to a tracepoint in an auxiliary pointer field. Just pass NULL instead to the tracepoint. Fixes: a84a46d73050 ("rxrpc: Add some additional call tracing") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions