diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2016-04-12 19:54:01 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-13 01:39:36 -0400 |
commit | 896491b304f956d3e87208a242db4fdfa952cdc5 (patch) | |
tree | 8578490f566bc9635dff0bfcc56fe2195c2df0de | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
ASoC: au1x: use correct format specifier
Documentation/printk-formats.txt has
unsigned long: use %lu or %lx
size_t: use %zu or %zx
runtime->dma_bytes is of type size_t.
runtime->min_align is of type unsigned long.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/au1x/dbdma2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/au1x/dbdma2.c b/sound/soc/au1x/dbdma2.c index 5741c0aa6c03..b5d1caa04d8e 100644 --- a/sound/soc/au1x/dbdma2.c +++ b/sound/soc/au1x/dbdma2.c | |||
@@ -206,8 +206,8 @@ static int au1xpsc_pcm_hw_params(struct snd_pcm_substream *substream, | |||
206 | stype = substream->stream; | 206 | stype = substream->stream; |
207 | pcd = to_dmadata(substream); | 207 | pcd = to_dmadata(substream); |
208 | 208 | ||
209 | DBG("runtime->dma_area = 0x%08lx dma_addr_t = 0x%08lx dma_size = %d " | 209 | DBG("runtime->dma_area = 0x%08lx dma_addr_t = 0x%08lx dma_size = %zu " |
210 | "runtime->min_align %d\n", | 210 | "runtime->min_align %lu\n", |
211 | (unsigned long)runtime->dma_area, | 211 | (unsigned long)runtime->dma_area, |
212 | (unsigned long)runtime->dma_addr, runtime->dma_bytes, | 212 | (unsigned long)runtime->dma_addr, runtime->dma_bytes, |
213 | runtime->min_align); | 213 | runtime->min_align); |