Commit 212bdba3 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] vpif: don't cast pointers to int

Shut up several warnings about invalid casting when printing
the values of two pointers.
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 139adba6
...@@ -1914,7 +1914,7 @@ static int vpfe_probe(struct platform_device *pdev) ...@@ -1914,7 +1914,7 @@ static int vpfe_probe(struct platform_device *pdev)
v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev,
"trying to register vpfe device.\n"); "trying to register vpfe device.\n");
v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev,
"video_dev=%x\n", (int)&vpfe_dev->video_dev); "video_dev=%p\n", &vpfe_dev->video_dev);
vpfe_dev->fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; vpfe_dev->fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
ret = video_register_device(vpfe_dev->video_dev, ret = video_register_device(vpfe_dev->video_dev,
VFL_TYPE_GRABBER, -1); VFL_TYPE_GRABBER, -1);
......
...@@ -1204,8 +1204,8 @@ static int vpif_probe_complete(void) ...@@ -1204,8 +1204,8 @@ static int vpif_probe_complete(void)
INIT_LIST_HEAD(&common->dma_queue); INIT_LIST_HEAD(&common->dma_queue);
/* register video device */ /* register video device */
vpif_dbg(1, debug, "channel=%x,channel->video_dev=%x\n", vpif_dbg(1, debug, "channel=%p,channel->video_dev=%p\n",
(int)ch, (int)&ch->video_dev); ch, &ch->video_dev);
/* Initialize the video_device structure */ /* Initialize the video_device structure */
vdev = ch->video_dev; vdev = ch->video_dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment