linux/net/rxrpc
David Howells cf13258fd4 rxrpc: Fix ASSERTCMP and ASSERTIFCMP to handle signed values
Fix ASSERTCMP and ASSERTIFCMP to be able to handle signed values by casting
both parameters to the type of the first before comparing.  Without this,
both values are cast to unsigned long, which means that checks for values
less than zero don't work.

The downside of this is that the state enum values in struct rxrpc_call and
struct rxrpc_connection can't be bitfields as __typeof__ can't handle them.

Signed-off-by: David Howells <dhowells@redhat.com>
2016-09-08 11:10:11 +01:00
..
af_rxrpc.c rxrpc: Calls shouldn't hold socket refs 2016-09-07 15:33:20 +01:00
ar-internal.h rxrpc: Fix ASSERTCMP and ASSERTIFCMP to handle signed values 2016-09-08 11:10:11 +01:00
call_accept.c rxrpc: Calls shouldn't hold socket refs 2016-09-07 15:33:20 +01:00
call_event.c rxrpc: Add tracepoint for working out where aborts happen 2016-09-07 16:34:40 +01:00
call_object.c rxrpc: Add tracepoint for working out where aborts happen 2016-09-07 16:34:40 +01:00
conn_client.c rxrpc: Cache the security index in the rxrpc_call struct 2016-09-07 15:30:22 +01:00
conn_event.c rxrpc: Add tracepoint for working out where aborts happen 2016-09-07 16:34:40 +01:00
conn_object.c rxrpc: Calls should only have one terminal state 2016-08-30 15:58:31 +01:00
conn_service.c rxrpc: Improve management and caching of client connection objects 2016-08-24 15:17:14 +01:00
input.c rxrpc: Add tracepoint for working out where aborts happen 2016-09-07 16:34:40 +01:00
insecure.c rxrpc: Add tracepoint for working out where aborts happen 2016-09-07 16:34:40 +01:00
Kconfig rxrpc: Absorb the rxkad security module 2016-04-11 15:34:41 -04:00
key.c rxrpc: Use structs to hold connection params and protocol info 2016-06-22 09:09:59 +01:00
local_event.c rxrpc: Use a tracepoint for skb accounting debugging 2016-08-23 15:27:24 +01:00
local_object.c rxrpc: Add RCU destruction for connections and calls 2016-07-06 10:43:51 +01:00
Makefile rxrpc: Split sendmsg from packet transmission code 2016-09-04 21:41:39 +01:00
misc.c rxrpc: Split sendmsg from packet transmission code 2016-09-04 21:41:39 +01:00
output.c rxrpc: Calls shouldn't hold socket refs 2016-09-07 15:33:20 +01:00
peer_event.c rxrpc: Trace rxrpc_call usage 2016-08-30 16:02:36 +01:00
peer_object.c rxrpc: Provide a way for AFS to ask for the peer address of a call 2016-08-30 16:07:53 +01:00
proc.c rxrpc: Calls shouldn't hold socket refs 2016-09-07 15:33:20 +01:00
recvmsg.c rxrpc: Calls shouldn't hold socket refs 2016-09-07 15:33:20 +01:00
rxkad.c rxrpc: Add tracepoint for working out where aborts happen 2016-09-07 16:34:40 +01:00
security.c rxrpc: Replace conn->trans->{local,peer} with conn->params.{local,peer} 2016-06-22 09:10:00 +01:00
sendmsg.c rxrpc: Add tracepoint for working out where aborts happen 2016-09-07 16:34:40 +01:00
skbuff.c rxrpc: Calls shouldn't hold socket refs 2016-09-07 15:33:20 +01:00
sysctl.c rxrpc: Calls shouldn't hold socket refs 2016-09-07 15:33:20 +01:00
utils.c rxrpc: Move data_ready peer lookup into rxrpc_find_connection() 2016-07-06 10:51:14 +01:00