summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sched.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-03-13 09:25:34 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-03-13 14:05:20 +0100
commit55cc1d7806cd4827d38a18ddf3bcf04706758218 (patch)
treed272548c33b69e98e0025fb02da07043c8837b8a /net/sunrpc/sched.c
parentNFSv4: Append delegations to the per-client list instead of prepending (diff)
downloadlinux-55cc1d7806cd4827d38a18ddf3bcf04706758218.tar.xz
linux-55cc1d7806cd4827d38a18ddf3bcf04706758218.zip
SUNRPC: fix build-warning due to format missmatch
fix build-warning introduced by commit: f0eede10fd4 ("SUNRPC: use jiffies_to_msecs for converting jiffies") which did not fixup the format properly (my bad). Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to '')
-rw-r--r--net/sunrpc/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index c234e7ff2bf0..337ca851a350 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -89,8 +89,8 @@ __rpc_add_timer(struct rpc_wait_queue *queue, struct rpc_task *task)
if (!task->tk_timeout)
return;
- dprintk("RPC: %5u setting alarm for %lu ms\n",
- task->tk_pid, jiffies_to_msecs(task->tk_timeout));
+ dprintk("RPC: %5u setting alarm for %u ms\n",
+ task->tk_pid, jiffies_to_msecs(task->tk_timeout));
task->u.tk_wait.expires = jiffies + task->tk_timeout;
if (list_empty(&queue->timer_list.list) || time_before(task->u.tk_wait.expires, queue->timer_list.expires))