LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] SUNPRC: Fix printk format warning
@ 2008-02-09 0:02 Roland Dreier
2008-02-10 22:23 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: Roland Dreier @ 2008-02-09 0:02 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Tom Tucker, linux-kernel
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>
---
diff --git a/net/sunrpc/xprtrdma/svc_rdma_sendto.c b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
index 3e32194..4b913e7 100644
--- a/net/sunrpc/xprtrdma/svc_rdma_sendto.c
+++ b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
@@ -159,7 +159,7 @@ 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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] SUNPRC: Fix printk format warning
2008-02-09 0:02 [PATCH] SUNPRC: Fix printk format warning Roland Dreier
@ 2008-02-10 22:23 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2008-02-10 22:23 UTC (permalink / raw)
To: Roland Dreier; +Cc: Tom Tucker, linux-kernel
On Fri, Feb 08, 2008 at 04:02:04PM -0800, Roland Dreier wrote:
> net/sunrpc/xprtrdma/svc_rdma_sendto.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'u64'
OK, thanks. Applied (with the long line split).
--b.
>
> Signed-off-by: Roland Dreier <rolandd@cisco.com>
> ---
> diff --git a/net/sunrpc/xprtrdma/svc_rdma_sendto.c b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
> index 3e32194..4b913e7 100644
> --- a/net/sunrpc/xprtrdma/svc_rdma_sendto.c
> +++ b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
> @@ -159,7 +159,7 @@ 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-10 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-09 0:02 [PATCH] SUNPRC: Fix printk format warning Roland Dreier
2008-02-10 22:23 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).