Skip to content

Commit

Permalink
V4L/DVB (6262): An allocation error message were being printed as a d…
Browse files Browse the repository at this point in the history
…ebug msg

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 10, 2007
1 parent c520a49 commit e78dcf5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/video/videobuf-vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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;
}

Expand Down

0 comments on commit e78dcf5

Please sign in to comment.