Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1377194 > unrolled thread
| Started by | Heinrich Schuchardt <xypron.glpk@gmx.de> |
|---|---|
| First post | 2016-04-12 23:00 +0200 |
| Last post | 2016-04-13 01:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-04-12 23:00 +0200
Re: [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier Nicolin Chen <nicoleotsuka@gmail.com> - 2016-04-13 01:00 +0200
| From | Heinrich Schuchardt <xypron.glpk@gmx.de> |
|---|---|
| Date | 2016-04-12 23:00 +0200 |
| Subject | [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier |
| Message-ID | <rndzJ-5be-43@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Nicolin Chen <nicoleotsuka@gmail.com> |
|---|---|
| Date | 2016-04-13 01:00 +0200 |
| Message-ID | <rnfrQ-72b-7@gated-at.bofh.it> |
| In reply to | #1377194 |
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
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web