summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-12 18:19:24 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-12 18:19:24 +0000
commite07511c36db32bec6bd0fde4e996001b6e5709e0 (patch)
tree7bc790fb6e39faf13d2c255872f92bd636624cbb /linux/drivers/media/video
parentde8d080a697cf4a8c8c997f7f3b76ea1f49a51bd (diff)
downloadmediapointer-dvb-s2-e07511c36db32bec6bd0fde4e996001b6e5709e0.tar.gz
mediapointer-dvb-s2-e07511c36db32bec6bd0fde4e996001b6e5709e0.tar.bz2
zoran: fix printk format
From: Randy Dunlap <randy.dunlap@oracle.com> 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 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/zoran/zoran_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/zoran/zoran_driver.c b/linux/drivers/media/video/zoran/zoran_driver.c
index 2609f54d7..798745c0a 100644
--- a/linux/drivers/media/video/zoran/zoran_driver.c
+++ b/linux/drivers/media/video/zoran/zoran_driver.c
@@ -356,9 +356,9 @@ v4l_fbuffer_alloc (struct file *file)
SetPageReserved(MAP_NR(mem + off));
dprintk(4,
KERN_INFO
- "%s: v4l_fbuffer_alloc() - V4L frame %d mem 0x%lx (bus: 0x%lx)\n",
+ "%s: v4l_fbuffer_alloc() - V4L frame %d mem 0x%lx (bus: 0x%llx)\n",
ZR_DEVNAME(zr), i, (unsigned long) mem,
- virt_to_bus(mem));
+ (unsigned long long)virt_to_bus(mem));
} else {
#if defined(CONFIG_BIGPHYS_AREA)
/* Use bigphysarea_alloc_pages */