]> err.no Git - linux-2.6/commitdiff
net/sunrpc/xprtrdma/verbs.c printk warning fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 16 Oct 2007 08:29:57 +0000 (01:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:23 +0000 (09:43 -0700)
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>
net/sunrpc/xprtrdma/verbs.c

index 9ec8ca4f60288d45d6c91b7a29bacfaa460896dd..44b0fb942e8db5834ddaebf81fe4fc1e3fbd5530 100644 (file)
@@ -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;