提交 42eb523f 编写于 作者: M Mauro Carvalho Chehab

soc_camera: fix a weird cast on printk

drivers/media/platform/soc_camera/soc_camera.c:790 soc_camera_mmap() warn: argument 4 to %08lx specifier is cast from pointer
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 6b65dd4c
...@@ -787,7 +787,7 @@ static int soc_camera_mmap(struct file *file, struct vm_area_struct *vma) ...@@ -787,7 +787,7 @@ static int soc_camera_mmap(struct file *file, struct vm_area_struct *vma)
struct soc_camera_host *ici = to_soc_camera_host(icd->parent); struct soc_camera_host *ici = to_soc_camera_host(icd->parent);
int err; int err;
dev_dbg(icd->pdev, "mmap called, vma=0x%08lx\n", (unsigned long)vma); dev_dbg(icd->pdev, "mmap called, vma=%p\n", vma);
if (icd->streamer != file) if (icd->streamer != file)
return -EBUSY; return -EBUSY;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册