aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-03-27 14:01:11 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:43:42 -0300
commit8737f66e6415e8dbe8c8b26d63692d87a4ad5b29 (patch)
tree5e966fcd381516083410a0a8be15789ee3684e16 /drivers/media/video/zoran
parentcf47d878e5c7825836abf8d37fde025f7676db2b (diff)
downloadkernel_samsung_smdk4412-8737f66e6415e8dbe8c8b26d63692d87a4ad5b29.zip
kernel_samsung_smdk4412-8737f66e6415e8dbe8c8b26d63692d87a4ad5b29.tar.gz
kernel_samsung_smdk4412-8737f66e6415e8dbe8c8b26d63692d87a4ad5b29.tar.bz2
V4L/DVB (11237): media/zoran: fix printk format
Fix printk format warning: drivers/media/video/zoran/zoran_driver.c:345: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'phys_addr_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/zoran')
-rw-r--r--drivers/media/video/zoran/zoran_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/zoran/zoran_driver.c b/drivers/media/video/zoran/zoran_driver.c
index 1e87fb9..f16e57c 100644
--- a/drivers/media/video/zoran/zoran_driver.c
+++ b/drivers/media/video/zoran/zoran_driver.c
@@ -245,9 +245,9 @@ static int v4l_fbuffer_alloc(struct zoran_fh *fh)
SetPageReserved(virt_to_page(mem + off));
dprintk(4,
KERN_INFO
- "%s: %s - V4L frame %d mem 0x%lx (bus: 0x%lx)\n",
+ "%s: %s - V4L frame %d mem 0x%lx (bus: 0x%llx)\n",
ZR_DEVNAME(zr), __func__, i, (unsigned long) mem,
- virt_to_bus(mem));
+ (unsigned long long)virt_to_bus(mem));
}
fh->buffers.allocated = 1;