]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (6262): An allocation error message were being printed as a debug msg
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 6 Sep 2007 22:08:24 +0000 (19:08 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 03:02:50 +0000 (00:02 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videobuf-vmalloc.c

index 6ef4f523689a7bafed58ff430a1072580235869e..b2abfc9d9a8e68a34c1ce2a09b0665c8045536f6 100644 (file)
@@ -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;
        }