summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-09-06 23:08:24 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-09-06 23:08:24 +0100
commitbee4fca3dc88e0601f37472e6afdf57cfd7ab40e (patch)
treecd662b9786f50845b872d35e3a0e74abfe9b67f7 /linux
parent597743dd42a950a9eabab7883437819ca83cb043 (diff)
downloadmediapointer-dvb-s2-bee4fca3dc88e0601f37472e6afdf57cfd7ab40e.tar.gz
mediapointer-dvb-s2-bee4fca3dc88e0601f37472e6afdf57cfd7ab40e.tar.bz2
An allocation error message were being printed as a debug msg
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/videobuf-vmalloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/videobuf-vmalloc.c b/linux/drivers/media/video/videobuf-vmalloc.c
index fa273aaa1..b55a97fcf 100644
--- a/linux/drivers/media/video/videobuf-vmalloc.c
+++ b/linux/drivers/media/video/videobuf-vmalloc.c
@@ -141,7 +141,6 @@ static int __videobuf_iolock (struct videobuf_queue* q,
MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM);
-
pages = PAGE_ALIGN(vb->size) >> PAGE_SHIFT;
/* Currently, doesn't support V4L2_MEMORY_OVERLAY */
@@ -154,7 +153,7 @@ static int __videobuf_iolock (struct videobuf_queue* q,
/* FIXME: should be tested with kernel mmap mem */
mem->vmalloc=vmalloc_user (PAGE_ALIGN(vb->size));
if (NULL == mem->vmalloc) {
- dprintk(1,"vmalloc (%d pages) failed\n",pages);
+ printk(KERN_ERR "vmalloc (%d pages) failed\n",pages);
return -ENOMEM;
}