summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-08-18 10:23:05 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-09-03 13:44:29 -0300
commit62e5f051c110a4f8de66f4c33e690892089aaac4 (patch)
tree03ffab1138ee3db459277644e0e32f5abbf2afb6 /drivers/media
parent062683901ad5c29ac375e6b7c7bca2737d41e11a (diff)
downloadop-kernel-dev-62e5f051c110a4f8de66f4c33e690892089aaac4.zip
op-kernel-dev-62e5f051c110a4f8de66f4c33e690892089aaac4.tar.gz
[media] c8sectpfe: Use %pad to print 'dma_addr_t'
Use %pad to print 'dma_addr_t' in order to fix the following build warning: drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c:588:2: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=] Reported-by: Olof's autobuilder <build@lixom.net> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
index 1586a1e..486aef5 100644
--- a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
+++ b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
@@ -585,9 +585,9 @@ static int configure_memdma_and_inputblock(struct c8sectpfei *fei,
writel(tsin->pid_buffer_busaddr,
fei->io + PIDF_BASE(tsin->tsin_id));
- dev_info(fei->dev, "chan=%d PIDF_BASE=0x%x pid_bus_addr=0x%x\n",
+ dev_info(fei->dev, "chan=%d PIDF_BASE=0x%x pid_bus_addr=%pad\n",
tsin->tsin_id, readl(fei->io + PIDF_BASE(tsin->tsin_id)),
- tsin->pid_buffer_busaddr);
+ &tsin->pid_buffer_busaddr);
/* Configure and enable HW PID filtering */
OpenPOWER on IntegriCloud