Skip to content

Commit

Permalink
V4L/DVB (10631): zoran: fix printk format
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 7d979a8 commit 995a652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/zoran/zoran_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 995a652

Please sign in to comment.