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>
This commit is contained in:
Randy Dunlap 2011-03-15 17:11:59 -07:00 committed by Trond Myklebust
parent 4d4a76f330
commit 986d4abbdd
1 changed files with 2 additions and 1 deletions

View File

@ -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)) { 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", dprintk("RPC: %s: mr_dma %llx mr_offset %p mr_dma_len %zu\n",
__func__, __func__,
seg->mr_dma, seg->mr_offset, seg->mr_dmalen); (unsigned long long)seg->mr_dma,
seg->mr_offset, seg->mr_dmalen);
} }
} }