diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-27 14:01:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-27 14:01:11 -0300 |
commit | 4b807c926e097767bb1b8c3bf09bffb52b406295 (patch) | |
tree | 41f644f9047fb77e18223bf65526629703f0f4d3 /linux/drivers/media | |
parent | 86948a72d224082ef87b1a46b9bc7ce3292e1003 (diff) | |
download | mediapointer-dvb-s2-4b807c926e097767bb1b8c3bf09bffb52b406295.tar.gz mediapointer-dvb-s2-4b807c926e097767bb1b8c3bf09bffb52b406295.tar.bz2 |
Fix printk format warning:
From: Randy Dunlap <randy.dunlap@oracle.com>
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')
-rw-r--r-- | linux/drivers/media/video/zoran/zoran_driver.c | 4 |
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 7ef3c015d..c702ea0fe 100644 --- a/linux/drivers/media/video/zoran/zoran_driver.c +++ b/linux/drivers/media/video/zoran/zoran_driver.c @@ -246,9 +246,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; |