* [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier
@ 2016-04-12 20:51 Heinrich Schuchardt
2016-04-12 22:52 ` Nicolin Chen
0 siblings, 1 reply; 3+ messages in thread
From: Heinrich Schuchardt @ 2016-04-12 20:51 UTC (permalink / raw)
To: Timur Tabi, Nicolin Chen, Xiubo Li
Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
alsa-devel, linuxppc-dev, linux-kernel, Heinrich Schuchardt
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier
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
0 siblings, 0 replies; 3+ messages in thread
From: Nicolin Chen @ 2016-04-12 22:52 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: Timur Tabi, Xiubo Li, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai, alsa-devel, linuxppc-dev, linux-kernel
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier
@ 2016-04-12 22:52 ` Nicolin Chen
0 siblings, 0 replies; 3+ messages in thread
From: Nicolin Chen @ 2016-04-12 22:52 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: alsa-devel, Timur Tabi, Xiubo Li, linux-kernel, Takashi Iwai,
Liam Girdwood, Mark Brown, linuxppc-dev
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-12 22:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2016-04-12 22:52 ` Nicolin Chen
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.