]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Use negative error codes in rxrpc_call struct
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Apr 2017 09:11:56 +0000 (10:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 6 Apr 2017 09:11:56 +0000 (10:11 +0100)
commitd289697c4fc3b227e70935f5bdc729e5eb641d83
tree8ad074e2048b742c7c4e8aebfbb3aeadc552a525
parent725eac8318dee880f3ac083882cf59330e3e3d66
rxrpc: Use negative error codes in rxrpc_call struct

Use negative error codes in struct rxrpc_call::error because that's what
the kernel normally deals with and to make the code consistent.  We only
turn them positive when transcribing into a cmsg for userspace recvmsg.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/rxrpc.c
net/rxrpc/call_accept.c
net/rxrpc/call_event.c
net/rxrpc/call_object.c
net/rxrpc/conn_event.c
net/rxrpc/input.c
net/rxrpc/peer_event.c
net/rxrpc/recvmsg.c
net/rxrpc/rxkad.c
net/rxrpc/sendmsg.c