提交 e78dcf55 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (6262): An allocation error message were being printed as a debug msg

Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 c520a497
......@@ -140,7 +140,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 */
......@@ -153,7 +152,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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册