summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-03-16 01:11:59 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-16 01:17:32 +0100
commit986d4abbddf9e76184f6cabf66654ea8e61bcde5 (patch)
tree911372f76d30665c08957ee5422cc408137c43b7 /net/sunrpc/xprtrdma
parentxprt: remove redundant null check (diff)
downloadlinux-986d4abbddf9e76184f6cabf66654ea8e61bcde5.tar.xz
linux-986d4abbddf9e76184f6cabf66654ea8e61bcde5.zip
sunrpc: fix printk format warning
Fix printk format build warning: net/sunrpc/xprtrdma/verbs.c:1463: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'dma_addr_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
-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 570f08dc0b03..d4297dc43dc4 100644
--- a/net/sunrpc/xprtrdma/verbs.c
+++ b/net/sunrpc/xprtrdma/verbs.c
@@ -1462,7 +1462,8 @@ rpcrdma_map_one(struct rpcrdma_ia *ia, struct rpcrdma_mr_seg *seg, int writing)
if (ib_dma_mapping_error(ia->ri_id->device, seg->mr_dma)) {
dprintk("RPC: %s: mr_dma %llx mr_offset %p mr_dma_len %zu\n",
__func__,
- seg->mr_dma, seg->mr_offset, seg->mr_dmalen);
+ (unsigned long long)seg->mr_dma,
+ seg->mr_offset, seg->mr_dmalen);
}
}