All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolin Chen <nicoleotsuka@gmail.com>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: alsa-devel@alsa-project.org, Timur Tabi <timur@tabi.org>,
	Xiubo Li <Xiubo.Lee@gmail.com>,
	linux-kernel@vger.kernel.org, Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier
Date: Tue, 12 Apr 2016 15:52:32 -0700	[thread overview]
Message-ID: <20160412225232.GA30229@Asurada-Nvidia> (raw)
In-Reply-To: <1460494263-14805-1-git-send-email-xypron.glpk@gmx.de>

On Tue, Apr 12, 2016 at 10:51:03PM +0200, Heinrich Schuchardt wrote:
> Documentation/printk-formats.txt has
> size_t: use %zu or %zx
> 
> runtime->dma_bytes is of type size_t.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>

> ---
>  sound/soc/fsl/imx-pcm-fiq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c
> index e63cd5e..dac6688 100644
> --- a/sound/soc/fsl/imx-pcm-fiq.c
> +++ b/sound/soc/fsl/imx-pcm-fiq.c
> @@ -220,7 +220,7 @@ static int snd_imx_pcm_mmap(struct snd_pcm_substream *substream,
>  	ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area,
>  			  runtime->dma_addr, runtime->dma_bytes);
>  
> -	pr_debug("%s: ret: %d %p %pad 0x%08x\n", __func__, ret,
> +	pr_debug("%s: ret: %d %p %pad 0x%08zx\n", __func__, ret,
>  			runtime->dma_area,
>  			&runtime->dma_addr,
>  			runtime->dma_bytes);
> -- 
> 2.1.4
> 

WARNING: multiple messages have this Message-ID (diff)
From: Nicolin Chen <nicoleotsuka@gmail.com>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Timur Tabi <timur@tabi.org>, Xiubo Li <Xiubo.Lee@gmail.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier
Date: Tue, 12 Apr 2016 15:52:32 -0700	[thread overview]
Message-ID: <20160412225232.GA30229@Asurada-Nvidia> (raw)
In-Reply-To: <1460494263-14805-1-git-send-email-xypron.glpk@gmx.de>

On Tue, Apr 12, 2016 at 10:51:03PM +0200, Heinrich Schuchardt wrote:
> Documentation/printk-formats.txt has
> size_t: use %zu or %zx
> 
> runtime->dma_bytes is of type size_t.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>

> ---
>  sound/soc/fsl/imx-pcm-fiq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c
> index e63cd5e..dac6688 100644
> --- a/sound/soc/fsl/imx-pcm-fiq.c
> +++ b/sound/soc/fsl/imx-pcm-fiq.c
> @@ -220,7 +220,7 @@ static int snd_imx_pcm_mmap(struct snd_pcm_substream *substream,
>  	ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area,
>  			  runtime->dma_addr, runtime->dma_bytes);
>  
> -	pr_debug("%s: ret: %d %p %pad 0x%08x\n", __func__, ret,
> +	pr_debug("%s: ret: %d %p %pad 0x%08zx\n", __func__, ret,
>  			runtime->dma_area,
>  			&runtime->dma_addr,
>  			runtime->dma_bytes);
> -- 
> 2.1.4
> 

  reply	other threads:[~2016-04-12 22:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12 20:51 [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier Heinrich Schuchardt
2016-04-12 22:52 ` Nicolin Chen [this message]
2016-04-12 22:52   ` Nicolin Chen

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=20160412225232.GA30229@Asurada-Nvidia \
    --to=nicoleotsuka@gmail.com \
    --cc=Xiubo.Lee@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=timur@tabi.org \
    --cc=tiwai@suse.com \
    --cc=xypron.glpk@gmx.de \
    /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.