summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164/saa7164-dvb.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2009-05-09 21:30:05 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 00:14:47 -0300
commit207b42c492cc335806957c139381eb260a808837 (patch)
tree341dbc4033f8e743664195d12c92b210ab00e672 /drivers/media/video/saa7164/saa7164-dvb.c
parent443c1228d50518f3c550e1fef490a2c9d9246ce7 (diff)
V4L/DVB (12924): SAA7164: Fix some 32/64bit compile time warnings
SAA7164: Fix some 32/64bit compile time warnings Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-dvb.c')
-rw-r--r--drivers/media/video/saa7164/saa7164-dvb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/saa7164/saa7164-dvb.c b/drivers/media/video/saa7164/saa7164-dvb.c
index f21520f5979..271962db107 100644
--- a/drivers/media/video/saa7164/saa7164-dvb.c
+++ b/drivers/media/video/saa7164/saa7164-dvb.c
@@ -151,7 +151,7 @@ static int saa7164_dvb_cfg_tsport(struct saa7164_tsport *port)
saa7164_writel(port->bufsize, params->pitch * params->numberoflines);
dprintk(DBGLVL_DVB, " configured:\n");
- dprintk(DBGLVL_DVB, " lmmio 0x%llx\n", (u64)dev->lmmio);
+ dprintk(DBGLVL_DVB, " lmmio 0x%p\n", dev->lmmio);
dprintk(DBGLVL_DVB, " bufcounter 0x%x = 0x%x\n", port->bufcounter,
saa7164_readl(port->bufcounter));
@@ -178,13 +178,13 @@ static int saa7164_dvb_cfg_tsport(struct saa7164_tsport *port)
saa7164_writel(port->bufptr32l + ((sizeof(u32) * 2) * i), 0);
dprintk(DBGLVL_DVB,
- " buf[%d] offset 0x%lx (0x%x) "
- "buf 0x%lx/%lx (0x%x/%x)\n",
+ " buf[%d] offset 0x%llx (0x%x) "
+ "buf 0x%llx/%llx (0x%x/%x)\n",
i,
- port->bufoffset + (i * sizeof(u32)),
+ (u64)port->bufoffset + (i * sizeof(u32)),
saa7164_readl(port->bufoffset + (sizeof(u32) * i)),
- port->bufptr32h + ((sizeof(u32) * 2) * i),
- port->bufptr32l + ((sizeof(u32) * 2) * i),
+ (u64)port->bufptr32h + ((sizeof(u32) * 2) * i),
+ (u64)port->bufptr32l + ((sizeof(u32) * 2) * i),
saa7164_readl(port->bufptr32h + ((sizeof(u32) * i)
* 2)),
saa7164_readl(port->bufptr32l + ((sizeof(u32) * i)