浏览代码

SUNRPC: fix compile warnings on 64-bit platforms

Introduced by NFS metrics patch.

Test plan:
Compile kernel with CONFIG_NFS enabled on a 64-bit platform.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Chuck Lever 19 年之前
父节点
当前提交
5eb53f41d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/sunrpc/stats.c

+ 1 - 1
net/sunrpc/stats.c

@@ -186,7 +186,7 @@ void _print_name(struct seq_file *seq, unsigned int op, struct rpc_procinfo *pro
 		seq_printf(seq, "\t%12u: ", op);
 		seq_printf(seq, "\t%12u: ", op);
 }
 }
 
 
-#define MILLISECS_PER_JIFFY	(1000UL / HZ)
+#define MILLISECS_PER_JIFFY	(1000 / HZ)
 
 
 void rpc_print_iostats(struct seq_file *seq, struct rpc_clnt *clnt)
 void rpc_print_iostats(struct seq_file *seq, struct rpc_clnt *clnt)
 {
 {