diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/auth_gss/gss_krb5_mech.c | 2 | ||||
-rw-r--r-- | net/sunrpc/cache.c | 2 | ||||
-rw-r--r-- | net/sunrpc/timer.c | 6 | ||||
-rw-r--r-- | net/sunrpc/xdr.c | 2 | ||||
-rw-r--r-- | net/sunrpc/xprt.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/net/sunrpc/auth_gss/gss_krb5_mech.c b/net/sunrpc/auth_gss/gss_krb5_mech.c index 8eff8c32d1b9..d3611f11a8df 100644 --- a/net/sunrpc/auth_gss/gss_krb5_mech.c +++ b/net/sunrpc/auth_gss/gss_krb5_mech.c | |||
@@ -624,7 +624,7 @@ gss_import_v2_context(const void *p, const void *end, struct krb5_ctx *ctx, | |||
624 | ctx->seq_send = ctx->seq_send64; | 624 | ctx->seq_send = ctx->seq_send64; |
625 | if (ctx->seq_send64 != ctx->seq_send) { | 625 | if (ctx->seq_send64 != ctx->seq_send) { |
626 | dprintk("%s: seq_send64 %lx, seq_send %x overflow?\n", __func__, | 626 | dprintk("%s: seq_send64 %lx, seq_send %x overflow?\n", __func__, |
627 | (long unsigned)ctx->seq_send64, ctx->seq_send); | 627 | (unsigned long)ctx->seq_send64, ctx->seq_send); |
628 | p = ERR_PTR(-EINVAL); | 628 | p = ERR_PTR(-EINVAL); |
629 | goto out_err; | 629 | goto out_err; |
630 | } | 630 | } |
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index de0b0f39d9d8..47ad2666fdf6 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -1273,7 +1273,7 @@ static void *c_start(struct seq_file *m, loff_t *pos) | |||
1273 | __acquires(cd->hash_lock) | 1273 | __acquires(cd->hash_lock) |
1274 | { | 1274 | { |
1275 | loff_t n = *pos; | 1275 | loff_t n = *pos; |
1276 | unsigned hash, entry; | 1276 | unsigned int hash, entry; |
1277 | struct cache_head *ch; | 1277 | struct cache_head *ch; |
1278 | struct cache_detail *cd = ((struct handle*)m->private)->cd; | 1278 | struct cache_detail *cd = ((struct handle*)m->private)->cd; |
1279 | 1279 | ||
diff --git a/net/sunrpc/timer.c b/net/sunrpc/timer.c index dd824341c349..08881d0c9672 100644 --- a/net/sunrpc/timer.c +++ b/net/sunrpc/timer.c | |||
@@ -34,7 +34,7 @@ | |||
34 | void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo) | 34 | void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo) |
35 | { | 35 | { |
36 | unsigned long init = 0; | 36 | unsigned long init = 0; |
37 | unsigned i; | 37 | unsigned int i; |
38 | 38 | ||
39 | rt->timeo = timeo; | 39 | rt->timeo = timeo; |
40 | 40 | ||
@@ -57,7 +57,7 @@ EXPORT_SYMBOL_GPL(rpc_init_rtt); | |||
57 | * NB: When computing the smoothed RTT and standard deviation, | 57 | * NB: When computing the smoothed RTT and standard deviation, |
58 | * be careful not to produce negative intermediate results. | 58 | * be careful not to produce negative intermediate results. |
59 | */ | 59 | */ |
60 | void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m) | 60 | void rpc_update_rtt(struct rpc_rtt *rt, unsigned int timer, long m) |
61 | { | 61 | { |
62 | long *srtt, *sdrtt; | 62 | long *srtt, *sdrtt; |
63 | 63 | ||
@@ -106,7 +106,7 @@ EXPORT_SYMBOL_GPL(rpc_update_rtt); | |||
106 | * read, write, commit - A+4D | 106 | * read, write, commit - A+4D |
107 | * other - timeo | 107 | * other - timeo |
108 | */ | 108 | */ |
109 | unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer) | 109 | unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned int timer) |
110 | { | 110 | { |
111 | unsigned long res; | 111 | unsigned long res; |
112 | 112 | ||
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index b97a3dd9a60a..fddcccfcdf76 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c | |||
@@ -1204,7 +1204,7 @@ xdr_process_buf(struct xdr_buf *buf, unsigned int offset, unsigned int len, | |||
1204 | int (*actor)(struct scatterlist *, void *), void *data) | 1204 | int (*actor)(struct scatterlist *, void *), void *data) |
1205 | { | 1205 | { |
1206 | int i, ret = 0; | 1206 | int i, ret = 0; |
1207 | unsigned page_len, thislen, page_offset; | 1207 | unsigned int page_len, thislen, page_offset; |
1208 | struct scatterlist sg[1]; | 1208 | struct scatterlist sg[1]; |
1209 | 1209 | ||
1210 | sg_init_table(sg, 1); | 1210 | sg_init_table(sg, 1); |
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 0cbcd1ab49ab..6fe2dcead150 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -783,7 +783,7 @@ static void xprt_update_rtt(struct rpc_task *task) | |||
783 | { | 783 | { |
784 | struct rpc_rqst *req = task->tk_rqstp; | 784 | struct rpc_rqst *req = task->tk_rqstp; |
785 | struct rpc_rtt *rtt = task->tk_client->cl_rtt; | 785 | struct rpc_rtt *rtt = task->tk_client->cl_rtt; |
786 | unsigned timer = task->tk_msg.rpc_proc->p_timer; | 786 | unsigned int timer = task->tk_msg.rpc_proc->p_timer; |
787 | long m = usecs_to_jiffies(ktime_to_us(req->rq_rtt)); | 787 | long m = usecs_to_jiffies(ktime_to_us(req->rq_rtt)); |
788 | 788 | ||
789 | if (timer) { | 789 | if (timer) { |