Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e78dcf55520769471c66024b13df7e9e592436f4
Commit:     e78dcf55520769471c66024b13df7e9e592436f4
Parent:     c520a4970c7e5f18275ef935372e56eabd6d0e44
Author:     Mauro Carvalho Chehab <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 6 19:08:24 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 00:02:50 2007 -0300

    V4L/DVB (6262): An allocation error message were being printed as a debug 
msg
    
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/videobuf-vmalloc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/videobuf-vmalloc.c 
b/drivers/media/video/videobuf-vmalloc.c
index 6ef4f52..b2abfc9 100644
--- a/drivers/media/video/videobuf-vmalloc.c
+++ b/drivers/media/video/videobuf-vmalloc.c
@@ -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;
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to