projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b185819
)
V4L/DVB (13415): videobuf-core: explicitly cast page count
author
Márton Németh
<nm127@freemail.hu>
Sun, 22 Nov 2009 21:03:05 +0000
(18:03 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:46 +0000
(18:41 -0200)
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>
drivers/media/video/videobuf-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/videobuf-core.c
b/drivers/media/video/videobuf-core.c
index
136bc34
..
bb0a1c8
100644
(file)
--- 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,
count = VIDEO_MAX_FRAME;
size = 0;
q->ops->buf_setup(q, &count, &size);
- dprintk(1, "reqbufs: bufs=%d, size=0x%x [%d pages total]\n",
- count, size, (count*PAGE_ALIGN(size))>>PAGE_SHIFT);
+ dprintk(1, "reqbufs: bufs=%d, size=0x%x [%u pages total]\n",
+ count, size,
+ (unsigned int)((count*PAGE_ALIGN(size))>>PAGE_SHIFT) );
retval = __videobuf_mmap_setup(q, count, size, req->memory);
if (retval < 0) {