projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbb7878
)
SUNPRC: Fix printk format warning
author
Roland Dreier
<
[email protected]
>
Sat, 9 Feb 2008 00:02:04 +0000
(16:02 -0800)
committer
J. Bruce Fields
<
[email protected]
>
Sun, 10 Feb 2008 23:11:22 +0000
(18:11 -0500)
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 <
[email protected]
>
Signed-off-by: J. Bruce Fields <
[email protected]
>
net/sunrpc/xprtrdma/svc_rdma_sendto.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtrdma/svc_rdma_sendto.c
b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
index 3e321949e1dc55cbd89db97a857e6fe70512f6c3..0598b229c11d326720a6c56b9bce66cfaa66e6b7 100644
(file)
--- a/
net/sunrpc/xprtrdma/svc_rdma_sendto.c
+++ b/
net/sunrpc/xprtrdma/svc_rdma_sendto.c
@@
-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;