* [PATCH -next] sunrpc: fix printk format warning
[not found] <20110315194543.a5d56c0c.sfr@canb.auug.org.au>
@ 2011-03-16 0:11 ` Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2011-03-16 0:11 UTC (permalink / raw)
To: Stephen Rothwell, Trond Myklebust, linux-nfs
Cc: linux-next, LKML, Neil Brown, bfields
From: Randy Dunlap <randy.dunlap@oracle.com>
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>
---
net/sunrpc/xprtrdma/verbs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-next-20110315.orig/net/sunrpc/xprtrdma/verbs.c
+++ linux-next-20110315/net/sunrpc/xprtrdma/verbs.c
@@ -1462,7 +1462,8 @@ rpcrdma_map_one(struct rpcrdma_ia *ia, s
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);
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-16 0:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20110315194543.a5d56c0c.sfr@canb.auug.org.au>
2011-03-16 0:11 ` [PATCH -next] sunrpc: fix printk format warning Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).