From: Vinod Koul <vinod.koul@intel.com>
To: Randy Dunlap <rdunlap@infradead.org>, Simon Horman <horms@verge.net.au>
Cc: "dmaengine@vger.kernel.org" <dmaengine@vger.kernel.org>,
Dan Williams <dan.j.williams@intel.com>,
LKML <linux-kernel@vger.kernel.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH -next] dma/sh: fix rcar-dma.c printk format warnings
Date: Sat, 26 Jul 2014 21:19:30 +0530 [thread overview]
Message-ID: <20140726154930.GX8181@intel.com> (raw)
In-Reply-To: <53D28DAF.9090506@infradead.org>
On Fri, Jul 25, 2014 at 10:02:39AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix printk format warnings by using size_t modifiers ('z'):
>
> ../drivers/dma/sh/rcar-dmac.c:759:4: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'size_t' [-Wformat=]
> ../drivers/dma/sh/rcar-dmac.c:759:4: warning: format '%u' expects argument of type 'unsigned int', but argument 10 has type 'size_t' [-Wformat=]
>
This is not present in dmaengine trees. Simon is this in your tree?
--
~Vinod
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Cc: Dan Williams <dan.j.williams@intel.com>
> Cc: dmaengine@vger.kernel.org
> ---
> drivers/dma/sh/rcar-dmac.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-next-20140725/drivers/dma/sh/rcar-dmac.c
> ===================================================================
> --- linux-next-20140725.orig/drivers/dma/sh/rcar-dmac.c
> +++ linux-next-20140725/drivers/dma/sh/rcar-dmac.c
> @@ -757,7 +757,7 @@ rcar_dmac_chan_prep_sg(struct rcar_dmac_
> hwdesc->size = size;
>
> dev_dbg(chan->chan.device->dev,
> - "chan%u: hwdesc %p/%p sgl %u@%p, %u/%u %pad -> %pad\n",
> + "chan%u: hwdesc %p/%p sgl %u@%p, %zu/%zu %pad -> %pad\n",
> chan->index, hwdesc, desc, i, sg, size, len,
> &hwdesc->src_addr, &hwdesc->dst_addr);
>
> --
> To unsubscribe from this list: send the line "unsubscribe dmaengine" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
next prev parent reply other threads:[~2014-07-26 15:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-25 17:02 [PATCH -next] dma/sh: fix rcar-dma.c printk format warnings Randy Dunlap
2014-07-26 15:49 ` Vinod Koul [this message]
2014-07-28 11:20 ` Laurent Pinchart
2014-07-28 11:31 ` Simon Horman
2014-07-28 12:08 ` Simon Horman
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=20140726154930.GX8181@intel.com \
--to=vinod.koul@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=horms@verge.net.au \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
/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.