Skip to content

Commit

Permalink
SUNPRC: Fix printk format warning
Browse files Browse the repository at this point in the history
net/sunrpc/xprtrdma/svc_rdma_sendto.c:160: warning: format '%llx'
expects type 'long long unsigned int', but argument 3 has type 'u64'

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
  • Loading branch information
Roland Dreier authored and J. Bruce Fields committed Feb 10, 2008
1 parent fbb7878 commit bb50c80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/sunrpc/xprtrdma/svc_rdma_sendto.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ static int send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp,
BUG_ON(sge_count >= 32);
dprintk("svcrdma: RDMA_WRITE rmr=%x, to=%llx, xdr_off=%d, "
"write_len=%d, xdr_sge=%p, sge_count=%d\n",
rmr, to, xdr_off, write_len, xdr_sge, sge_count);
rmr, (unsigned long long)to, xdr_off,
write_len, xdr_sge, sge_count);

ctxt = svc_rdma_get_context(xprt);
ctxt->count = 0;
Expand Down

0 comments on commit bb50c80

Please sign in to comment.