Skip to content

Commit

Permalink
sunrpc: fix printk format warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
  • Loading branch information
rddunlap authored and Trond Myklebust committed Mar 16, 2011
1 parent 4d4a76f commit 986d4ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/sunrpc/xprtrdma/verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 986d4ab

Please sign in to comment.