[cron,job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS
Commit Message
Hans Verkuil worte:
> linux-2.6.22.19-armv5: WARNINGS
/marune/build/v4l-dvb-master/v4l/videobuf-core.c: In function 'videobuf_reqbufs':
/marune/build/v4l-dvb-master/v4l/videobuf-core.c:434: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
I think this can be solved by explicit casting the result.
---
Subject: [PATCH] explicitly cast page count
From: Márton Németh <nm127@freemail.hu>
Explicitly cast page count in the debug message.
Signed-off-by: Márton Németh <nm127@freemail.hu>
---
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -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) {