]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (11237): media/zoran: fix printk format
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 27 Mar 2009 17:01:11 +0000 (14:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:42 +0000 (12:43 -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 1e87fb9f71466e93905ff8fed7f30dfccea05023..f16e57cf11e40d7f368dac81e781b27677ac0ee0 100644 (file)
@@ -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;