Loading net/rxrpc/ar-call.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -15,7 +15,7 @@ #include <net/af_rxrpc.h> #include <net/af_rxrpc.h> #include "ar-internal.h" #include "ar-internal.h" const char *rxrpc_call_states[] = { const char *const rxrpc_call_states[] = { [RXRPC_CALL_CLIENT_SEND_REQUEST] = "ClSndReq", [RXRPC_CALL_CLIENT_SEND_REQUEST] = "ClSndReq", [RXRPC_CALL_CLIENT_AWAIT_REPLY] = "ClAwtRpl", [RXRPC_CALL_CLIENT_AWAIT_REPLY] = "ClAwtRpl", [RXRPC_CALL_CLIENT_RECV_REPLY] = "ClRcvRpl", [RXRPC_CALL_CLIENT_RECV_REPLY] = "ClRcvRpl", Loading net/rxrpc/ar-internal.h +3 −3 Original line number Original line Diff line number Diff line Loading @@ -565,9 +565,9 @@ extern void __exit rxrpc_destroy_all_peers(void); /* /* * ar-proc.c * ar-proc.c */ */ extern const char *rxrpc_call_states[]; extern const char *const rxrpc_call_states[]; extern struct file_operations rxrpc_call_seq_fops; extern const struct file_operations rxrpc_call_seq_fops; extern struct file_operations rxrpc_connection_seq_fops; extern const struct file_operations rxrpc_connection_seq_fops; /* /* * ar-recvmsg.c * ar-recvmsg.c Loading net/rxrpc/ar-proc.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -14,7 +14,7 @@ #include <net/af_rxrpc.h> #include <net/af_rxrpc.h> #include "ar-internal.h" #include "ar-internal.h" static const char *rxrpc_conn_states[] = { static const char *const rxrpc_conn_states[] = { [RXRPC_CONN_UNUSED] = "Unused ", [RXRPC_CONN_UNUSED] = "Unused ", [RXRPC_CONN_CLIENT] = "Client ", [RXRPC_CONN_CLIENT] = "Client ", [RXRPC_CONN_SERVER_UNSECURED] = "SvUnsec ", [RXRPC_CONN_SERVER_UNSECURED] = "SvUnsec ", Loading Loading @@ -98,7 +98,7 @@ static int rxrpc_call_seq_open(struct inode *inode, struct file *file) return seq_open(file, &rxrpc_call_seq_ops); return seq_open(file, &rxrpc_call_seq_ops); } } struct file_operations rxrpc_call_seq_fops = { const struct file_operations rxrpc_call_seq_fops = { .owner = THIS_MODULE, .owner = THIS_MODULE, .open = rxrpc_call_seq_open, .open = rxrpc_call_seq_open, .read = seq_read, .read = seq_read, Loading Loading @@ -183,7 +183,7 @@ static int rxrpc_connection_seq_open(struct inode *inode, struct file *file) return seq_open(file, &rxrpc_connection_seq_ops); return seq_open(file, &rxrpc_connection_seq_ops); } } struct file_operations rxrpc_connection_seq_fops = { const struct file_operations rxrpc_connection_seq_fops = { .owner = THIS_MODULE, .owner = THIS_MODULE, .open = rxrpc_connection_seq_open, .open = rxrpc_connection_seq_open, .read = seq_read, .read = seq_read, Loading Loading
net/rxrpc/ar-call.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -15,7 +15,7 @@ #include <net/af_rxrpc.h> #include <net/af_rxrpc.h> #include "ar-internal.h" #include "ar-internal.h" const char *rxrpc_call_states[] = { const char *const rxrpc_call_states[] = { [RXRPC_CALL_CLIENT_SEND_REQUEST] = "ClSndReq", [RXRPC_CALL_CLIENT_SEND_REQUEST] = "ClSndReq", [RXRPC_CALL_CLIENT_AWAIT_REPLY] = "ClAwtRpl", [RXRPC_CALL_CLIENT_AWAIT_REPLY] = "ClAwtRpl", [RXRPC_CALL_CLIENT_RECV_REPLY] = "ClRcvRpl", [RXRPC_CALL_CLIENT_RECV_REPLY] = "ClRcvRpl", Loading
net/rxrpc/ar-internal.h +3 −3 Original line number Original line Diff line number Diff line Loading @@ -565,9 +565,9 @@ extern void __exit rxrpc_destroy_all_peers(void); /* /* * ar-proc.c * ar-proc.c */ */ extern const char *rxrpc_call_states[]; extern const char *const rxrpc_call_states[]; extern struct file_operations rxrpc_call_seq_fops; extern const struct file_operations rxrpc_call_seq_fops; extern struct file_operations rxrpc_connection_seq_fops; extern const struct file_operations rxrpc_connection_seq_fops; /* /* * ar-recvmsg.c * ar-recvmsg.c Loading
net/rxrpc/ar-proc.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -14,7 +14,7 @@ #include <net/af_rxrpc.h> #include <net/af_rxrpc.h> #include "ar-internal.h" #include "ar-internal.h" static const char *rxrpc_conn_states[] = { static const char *const rxrpc_conn_states[] = { [RXRPC_CONN_UNUSED] = "Unused ", [RXRPC_CONN_UNUSED] = "Unused ", [RXRPC_CONN_CLIENT] = "Client ", [RXRPC_CONN_CLIENT] = "Client ", [RXRPC_CONN_SERVER_UNSECURED] = "SvUnsec ", [RXRPC_CONN_SERVER_UNSECURED] = "SvUnsec ", Loading Loading @@ -98,7 +98,7 @@ static int rxrpc_call_seq_open(struct inode *inode, struct file *file) return seq_open(file, &rxrpc_call_seq_ops); return seq_open(file, &rxrpc_call_seq_ops); } } struct file_operations rxrpc_call_seq_fops = { const struct file_operations rxrpc_call_seq_fops = { .owner = THIS_MODULE, .owner = THIS_MODULE, .open = rxrpc_call_seq_open, .open = rxrpc_call_seq_open, .read = seq_read, .read = seq_read, Loading Loading @@ -183,7 +183,7 @@ static int rxrpc_connection_seq_open(struct inode *inode, struct file *file) return seq_open(file, &rxrpc_connection_seq_ops); return seq_open(file, &rxrpc_connection_seq_ops); } } struct file_operations rxrpc_connection_seq_fops = { const struct file_operations rxrpc_connection_seq_fops = { .owner = THIS_MODULE, .owner = THIS_MODULE, .open = rxrpc_connection_seq_open, .open = rxrpc_connection_seq_open, .read = seq_read, .read = seq_read, Loading