V4L/DVB (10631): zoran: fix printk format
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 12 Feb 2009 18:19:24 +0000 (15:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:49 +0000 (12:42 -0300)
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>
drivers/media/video/zoran/zoran_driver.c

index 120ef23..b81e209 100644 (file)
@@ -344,9 +344,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 {
 
                        /* Use high memory which has been left at boot time */