diff options
author | Márton Németh <nm127@freemail.hu> | 2009-11-22 16:03:05 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:41:46 -0500 |
commit | 296372e3b04a41853df1be6623a5bd634051458c (patch) | |
tree | c77fc111da00de72c10b3d14f36e3c953b5a5d16 | |
parent | b1858190fc0180df70e9e7bab24a679129643f43 (diff) |
V4L/DVB (13415): videobuf-core: explicitly cast page count
Explicitly cast page count in the debug message.
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/videobuf-core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index 136bc3496c8..bb0a1c8de41 100644 --- a/drivers/media/video/videobuf-core.c +++ b/drivers/media/video/videobuf-core.c | |||
@@ -430,8 +430,9 @@ int videobuf_reqbufs(struct videobuf_queue *q, | |||
430 | count = VIDEO_MAX_FRAME; | 430 | count = VIDEO_MAX_FRAME; |
431 | size = 0; | 431 | size = 0; |
432 | q->ops->buf_setup(q, &count, &size); | 432 | q->ops->buf_setup(q, &count, &size); |
433 | dprintk(1, "reqbufs: bufs=%d, size=0x%x [%d pages total]\n", | 433 | dprintk(1, "reqbufs: bufs=%d, size=0x%x [%u pages total]\n", |
434 | count, size, (count*PAGE_ALIGN(size))>>PAGE_SHIFT); | 434 | count, size, |
435 | (unsigned int)((count*PAGE_ALIGN(size))>>PAGE_SHIFT) ); | ||
435 | 436 | ||
436 | retval = __videobuf_mmap_setup(q, count, size, req->memory); | 437 | retval = __videobuf_mmap_setup(q, count, size, req->memory); |
437 | if (retval < 0) { | 438 | if (retval < 0) { |