aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton2007-10-16 01:29:57 -0700
committerLinus Torvalds2007-10-16 09:43:23 -0700
commita56daeb7d5c9a05b1cb52ae4bcca05fb6545656e (patch)
tree427877083ca4aee65d8eef2bb66955d7148ae81e
parent102a1a20d2b0a412d4cd4a9f047761f7925405ff (diff)
net/sunrpc/xprtrdma/verbs.c printk warning fix
sparc64: net/sunrpc/xprtrdma/verbs.c:1264: warning: long long unsigned int format, u64 arg (arg 3) net/sunrpc/xprtrdma/verbs.c:1264: warning: long long unsigned int format, u64 arg (arg 4) Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Cc: "David S. Miller" <davem@davemloft.net> Cc: "J. Bruce Fields" <bfields@fieldses.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--net/sunrpc/xprtrdma/verbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c
index 9ec8ca4f6028..44b0fb942e8d 100644
--- a/net/sunrpc/xprtrdma/verbs.c
+++ b/net/sunrpc/xprtrdma/verbs.c
@@ -1263,7 +1263,8 @@ rpcrdma_register_internal(struct rpcrdma_ia *ia, void *va, int len,
dprintk("RPC: %s: phys convert: 0x%llx "
"registered 0x%llx length %d\n",
- __func__, ipb.addr, iov->addr, len);
+ __func__, (unsigned long long)ipb.addr,
+ (unsigned long long)iov->addr, len);
if (IS_ERR(mr)) {
*mrp = NULL;