All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Roland Dreier <rdreier@cisco.com>
Cc: Tom Tucker <tom@opengridcomputing.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] SUNPRC: Fix printk format warning
Date: Sun, 10 Feb 2008 17:23:04 -0500	[thread overview]
Message-ID: <20080210222304.GA20829@fieldses.org> (raw)
In-Reply-To: <aday79v0zgj.fsf@cisco.com>

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;

      reply	other threads:[~2008-02-10 22:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-09  0:02 [PATCH] SUNPRC: Fix printk format warning Roland Dreier
2008-02-10 22:23 ` J. Bruce Fields [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080210222304.GA20829@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdreier@cisco.com \
    --cc=tom@opengridcomputing.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.