aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/rxkad.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-04-15 01:58:06 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-15 12:44:40 -0400
commit95c961747284a6b83a5e2d81240e214b0fa3464d (patch)
treec7be86a00db3605a48a03109fafcbe31039ca2e0 /net/rxrpc/rxkad.c
parent5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff)
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/rxkad.c')
-rw-r--r--net/rxrpc/rxkad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c
index 7635107726c..f226709ebd8 100644
--- a/net/rxrpc/rxkad.c
+++ b/net/rxrpc/rxkad.c
@@ -31,7 +31,7 @@
31#define REALM_SZ 40 /* size of principal's auth domain */ 31#define REALM_SZ 40 /* size of principal's auth domain */
32#define SNAME_SZ 40 /* size of service name */ 32#define SNAME_SZ 40 /* size of service name */
33 33
34unsigned rxrpc_debug; 34unsigned int rxrpc_debug;
35module_param_named(debug, rxrpc_debug, uint, S_IWUSR | S_IRUGO); 35module_param_named(debug, rxrpc_debug, uint, S_IWUSR | S_IRUGO);
36MODULE_PARM_DESC(debug, "rxkad debugging mask"); 36MODULE_PARM_DESC(debug, "rxkad debugging mask");
37 37
@@ -207,7 +207,7 @@ static int rxkad_secure_packet_encrypt(const struct rxrpc_call *call,
207 struct rxrpc_crypt iv; 207 struct rxrpc_crypt iv;
208 struct scatterlist sg[16]; 208 struct scatterlist sg[16];
209 struct sk_buff *trailer; 209 struct sk_buff *trailer;
210 unsigned len; 210 unsigned int len;
211 u16 check; 211 u16 check;
212 int nsg; 212 int nsg;
213 213
@@ -826,7 +826,7 @@ static int rxkad_decrypt_ticket(struct rxrpc_connection *conn,
826 struct rxrpc_crypt iv, key; 826 struct rxrpc_crypt iv, key;
827 struct scatterlist sg[1]; 827 struct scatterlist sg[1];
828 struct in_addr addr; 828 struct in_addr addr;
829 unsigned life; 829 unsigned int life;
830 time_t issue, now; 830 time_t issue, now;
831 bool little_endian; 831 bool little_endian;
832 int ret; 832 int ret;