Skip to content

Commit

Permalink
SVCRDMA: fix recent printk format warnings.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tom Talpey authored and Trond Myklebust committed Mar 19, 2009
1 parent 55420c2 commit 2e3c230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/xprtrdma/svc_rdma_sendto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2e3c230

Please sign in to comment.