diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-23 11:33:36 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-23 11:55:50 +0100 |
commit | 42eb523ff59e6591bf21954fe30db555efc695d9 (patch) | |
tree | 093d447f10b26a8b80dd91317fc6e1f45d6aaa74 /drivers/media | |
parent | media: cx23885: fix a warning (diff) | |
download | linux-42eb523ff59e6591bf21954fe30db555efc695d9.tar.xz linux-42eb523ff59e6591bf21954fe30db555efc695d9.zip |
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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/soc_camera/soc_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/soc_camera/soc_camera.c b/drivers/media/platform/soc_camera/soc_camera.c index 1318512c8fe3..69f0d8e80bd8 100644 --- a/drivers/media/platform/soc_camera/soc_camera.c +++ b/drivers/media/platform/soc_camera/soc_camera.c @@ -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); 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) return -EBUSY; |