diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-03-15 20:11:59 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-15 20:17:32 -0400 |
commit | 986d4abbddf9e76184f6cabf66654ea8e61bcde5 (patch) | |
tree | 911372f76d30665c08957ee5422cc408137c43b7 /net | |
parent | 4d4a76f3309edc671918a767b336492fbc80a16d (diff) |
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')
-rw-r--r-- | net/sunrpc/xprtrdma/verbs.c | 3 |
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) | |||
1462 | if (ib_dma_mapping_error(ia->ri_id->device, seg->mr_dma)) { | 1462 | if (ib_dma_mapping_error(ia->ri_id->device, seg->mr_dma)) { |
1463 | dprintk("RPC: %s: mr_dma %llx mr_offset %p mr_dma_len %zu\n", | 1463 | dprintk("RPC: %s: mr_dma %llx mr_offset %p mr_dma_len %zu\n", |
1464 | __func__, | 1464 | __func__, |
1465 | seg->mr_dma, seg->mr_offset, seg->mr_dmalen); | 1465 | (unsigned long long)seg->mr_dma, |
1466 | seg->mr_offset, seg->mr_dmalen); | ||
1466 | } | 1467 | } |
1467 | } | 1468 | } |
1468 | 1469 | ||