提交 70ae6a04 编写于 作者: M Mauro Carvalho Chehab

media: zoran: don't cast pointers to print them

drivers/media/pci/zoran/zoran_driver.c:242 v4l_fbuffer_alloc() warn: argument 5 to %lx specifier is cast from pointer
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 9863bc49
...@@ -241,8 +241,8 @@ static int v4l_fbuffer_alloc(struct zoran_fh *fh) ...@@ -241,8 +241,8 @@ static int v4l_fbuffer_alloc(struct zoran_fh *fh)
SetPageReserved(virt_to_page(mem + off)); SetPageReserved(virt_to_page(mem + off));
dprintk(4, dprintk(4,
KERN_INFO KERN_INFO
"%s: %s - V4L frame %d mem 0x%lx (bus: 0x%llx)\n", "%s: %s - V4L frame %d mem %p (bus: 0x%llx)\n",
ZR_DEVNAME(zr), __func__, i, (unsigned long) mem, ZR_DEVNAME(zr), __func__, i, mem,
(unsigned long long)virt_to_bus(mem)); (unsigned long long)virt_to_bus(mem));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册