]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Turn connection #defines into enums and put outside struct def
authorDavid Howells <dhowells@redhat.com>
Mon, 27 Jun 2016 09:32:02 +0000 (10:32 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 6 Jul 2016 09:43:51 +0000 (10:43 +0100)
commit2cbceae8a5cf345a64449aad208fb859394a0e62
tree722839772527934ad566e728e729c3d0290a892c
parent17ab1166c54f58095145b0f44b101293656cfe3f
rxrpc: Turn connection #defines into enums and put outside struct def

Turn the connection event and state #define lists into enums and move
outside of the struct definition.

Whilst we're at it, change _SERVER to _SERVICE in those identifiers and add
EV_ into the event name to distinguish them from flags and states.

Also add a symbol indicating the number of states and use that in the state
text array.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-internal.h
net/rxrpc/call_accept.c
net/rxrpc/conn_event.c
net/rxrpc/conn_object.c
net/rxrpc/proc.c