diff mbox

[-next] sunrpc: fix printk format warning

Message ID 20110315171159.b0e1fab1.randy.dunlap@oracle.com (mailing list archive)
State Accepted, archived
Delegated to: Trond Myklebust
Headers show

Commit Message

Randy Dunlap March 16, 2011, 12:11 a.m. UTC
None
diff mbox

Patch

--- 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);
 	}
 }