OSDN Git Service

ASoC: rsnd: Use %pad to print dma_addr_t in rsnd_dmapp_init()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Mar 2015 10:48:05 +0000 (11:48 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Mar 2015 11:56:42 +0000 (11:56 +0000)
commit6ec6fb6f231547834925ff802deb4415f49f708e
treebfd2dc3f147b3d4b6c16e008d68cf6790c1ca1f6
parentd3b1c0badbc86c034af55704ea88c1e656b402fe
ASoC: rsnd: Use %pad to print dma_addr_t in rsnd_dmapp_init()

sound/soc/sh/rcar/dma.c: In function 'rsnd_dmapp_init':
sound/soc/sh/rcar/dma.c:341:2: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=]
  dev_dbg(dev, "id/src/dst/chcr = %d/%x/%x/%08x\n",
  ^
sound/soc/sh/rcar/dma.c:341:2: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'dma_addr_t' [-Wformat=]

Fixes: 288f392e729dd4d3 ("ASoC: rsnd: add Audio DMAC peri peri support rework")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/dma.c