diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-09-21 00:54:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-26 12:24:51 +0200 |
commit | 3a429eea10ded31d2ff088432d02072165a099f1 (patch) | |
tree | 2252829634706e4f55322b22f804037806dac893 /sound/soc/atmel/atmel-pcm.c | |
parent | Linux 3.12-rc2 (diff) | |
download | linux-3a429eea10ded31d2ff088432d02072165a099f1.tar.xz linux-3a429eea10ded31d2ff088432d02072165a099f1.zip |
ASoC: atmel-pcm: fix warning
i386 allmodconfig:
sound/soc/atmel/atmel-pcm.c: In function 'atmel_pcm_preallocate_dma_buffer':
sound/soc/atmel/atmel-pcm.c:52: warning: cast to pointer from integer of different size
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/atmel/atmel-pcm.c')
-rw-r--r-- | sound/soc/atmel/atmel-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c index 3109db7b9017..612e5801003f 100644 --- a/sound/soc/atmel/atmel-pcm.c +++ b/sound/soc/atmel/atmel-pcm.c @@ -50,7 +50,7 @@ static int atmel_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, buf->area = dma_alloc_coherent(pcm->card->dev, size, &buf->addr, GFP_KERNEL); pr_debug("atmel-pcm: alloc dma buffer: area=%p, addr=%p, size=%zu\n", - (void *)buf->area, (void *)buf->addr, size); + (void *)buf->area, (void *)(long)buf->addr, size); if (!buf->area) return -ENOMEM; |