瀏覽代碼

ASoC: fsl: imx-pcm-fiq: use correct format specifier

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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Heinrich Schuchardt 9 年之前
父節點
當前提交
e92077c3f4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/soc/fsl/imx-pcm-fiq.c

+ 1 - 1
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);