提交 2be09d8d 编写于 作者: M Mauro Carvalho Chehab

media: zr364xx: avoid casting just to print pointer address

Instead of casting, just use %p.
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 5c804c6b
......@@ -517,8 +517,7 @@ static void zr364xx_fillbuff(struct zr364xx_camera *cam,
printk(KERN_ERR KBUILD_MODNAME ": =======no frame\n");
return;
}
DBG("%s: Buffer 0x%08lx size= %d\n", __func__,
(unsigned long)vbuf, pos);
DBG("%s: Buffer %p size= %d\n", __func__, vbuf, pos);
/* tell v4l buffer was filled */
buf->vb.field_count = cam->frame_count * 2;
......@@ -1277,7 +1276,7 @@ static int zr364xx_mmap(struct file *file, struct vm_area_struct *vma)
DBG("%s: cam == NULL\n", __func__);
return -ENODEV;
}
DBG("mmap called, vma=0x%08lx\n", (unsigned long)vma);
DBG("mmap called, vma=%p\n", vma);
ret = videobuf_mmap_mapper(&cam->vb_vidq, vma);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册