diff options
Diffstat (limited to 'net/sunrpc/timer.c')
-rw-r--r-- | net/sunrpc/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 | ||