diff mbox

[cron,job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS

Message ID 4B09A709.7070505@freemail.hu (mailing list archive)
State Accepted
Headers show

Commit Message

Németh Márton Nov. 22, 2009, 9:03 p.m. UTC
None
diff mbox

Patch

diff -r bc16afd1e7a4 linux/drivers/media/video/videobuf-core.c
--- a/linux/drivers/media/video/videobuf-core.c	Sat Nov 21 12:01:36 2009 +0100
+++ b/linux/drivers/media/video/videobuf-core.c	Sun Nov 22 21:56:20 2009 +0100
@@ -431,8 +431,9 @@ 
 		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) {