summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma
diff options
context:
space:
mode:
authorTom Talpey <tmtalpey@gmail.com>2009-03-12 22:21:21 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-03-19 15:17:37 -0400
commit2e3c230bc7149a6af65d26a0c312e230e0c33cc3 (patch)
tree11375e4bcc5ce17265ef41d210d21a3ac8860a2e /net/sunrpc/xprtrdma
parent55420c24a0d4d1fce70ca713f84aa00b6b74a70e (diff)
SVCRDMA: fix recent printk format warnings.
printk formats in prior commit were reversed/incorrect. Compiled without warning on x86 and x86_64, but detected on ppc. Signed-off-by: Tom Talpey <tmtalpey@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
-rw-r--r--net/sunrpc/xprtrdma/svc_rdma_sendto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_sendto.c b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
index d0bea987d80..6c26a675435 100644
--- a/net/sunrpc/xprtrdma/svc_rdma_sendto.c
+++ b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
@@ -235,7 +235,7 @@ static int map_xdr(struct svcxprt_rdma *xprt,
}
dprintk("svcrdma: map_xdr: sge_no %d page_no %d "
- "page_base %zd page_len %zd head_len %d tail_len %d\n",
+ "page_base %u page_len %u head_len %zu tail_len %zu\n",
sge_no, page_no, xdr->page_base, xdr->page_len,
xdr->head[0].iov_len, xdr->tail[0].iov_len);