aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-18 00:35:14 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:29:17 -0400
commit86751b016ff4eb4741b602933e5e6d74ac6cc377 (patch)
tree14e59d220f559ff51871b1f272f0ebbec27591f5
parentaf8b303e96ed5a6882419c8e632df166bde85d7a (diff)
V4L/DVB (8410): sh_mobile_ceu_camera: fix 64-bit compiler warnings
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/sh_mobile_ceu_camera.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c
index 6560ff496989..012005e1a77b 100644
--- a/drivers/media/video/sh_mobile_ceu_camera.c
+++ b/drivers/media/video/sh_mobile_ceu_camera.c
@@ -142,7 +142,7 @@ static void free_buffer(struct videobuf_queue *vq,
142{ 142{
143 struct soc_camera_device *icd = vq->priv_data; 143 struct soc_camera_device *icd = vq->priv_data;
144 144
145 dev_dbg(&icd->dev, "%s (vb=0x%p) 0x%08lx %d\n", __func__, 145 dev_dbg(&icd->dev, "%s (vb=0x%p) 0x%08lx %zd\n", __func__,
146 &buf->vb, buf->vb.baddr, buf->vb.bsize); 146 &buf->vb, buf->vb.baddr, buf->vb.bsize);
147 147
148 if (in_interrupt()) 148 if (in_interrupt())
@@ -179,7 +179,7 @@ static int sh_mobile_ceu_videobuf_prepare(struct videobuf_queue *vq,
179 179
180 buf = container_of(vb, struct sh_mobile_ceu_buffer, vb); 180 buf = container_of(vb, struct sh_mobile_ceu_buffer, vb);
181 181
182 dev_dbg(&icd->dev, "%s (vb=0x%p) 0x%08lx %d\n", __func__, 182 dev_dbg(&icd->dev, "%s (vb=0x%p) 0x%08lx %zd\n", __func__,
183 vb, vb->baddr, vb->bsize); 183 vb, vb->baddr, vb->bsize);
184 184
185 /* Added list head initialization on alloc */ 185 /* Added list head initialization on alloc */
@@ -232,7 +232,7 @@ static void sh_mobile_ceu_videobuf_queue(struct videobuf_queue *vq,
232 struct sh_mobile_ceu_dev *pcdev = ici->priv; 232 struct sh_mobile_ceu_dev *pcdev = ici->priv;
233 unsigned long flags; 233 unsigned long flags;
234 234
235 dev_dbg(&icd->dev, "%s (vb=0x%p) 0x%08lx %d\n", __func__, 235 dev_dbg(&icd->dev, "%s (vb=0x%p) 0x%08lx %zd\n", __func__,
236 vb, vb->baddr, vb->bsize); 236 vb, vb->baddr, vb->bsize);
237 237
238 vb->state = VIDEOBUF_ACTIVE; 238 vb->state = VIDEOBUF_ACTIVE;