Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d172b8bdab3812a6ad710e4cc78ceea3e8a40cd5
Commit:     d172b8bdab3812a6ad710e4cc78ceea3e8a40cd5
Parent:     105354a0f0410d4715f38e67d5790dead5dafdad
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 7 21:14:43 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:03:20 2008 -0200

    V4L/DVB (6749): v4l-nopage-fix
    
    dont just copy-and-paste stuff.
    (compile-tested this time)
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Cc: Nick Piggin <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/videobuf-dma-sg.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/videobuf-dma-sg.c 
b/drivers/media/video/videobuf-dma-sg.c
index eea5b4e..98efd7a 100644
--- a/drivers/media/video/videobuf-dma-sg.c
+++ b/drivers/media/video/videobuf-dma-sg.c
@@ -395,7 +395,8 @@ videobuf_vm_fault(struct vm_area_struct *vma, struct 
vm_fault *vmf)
        page = alloc_page(GFP_USER | __GFP_DMA32);
        if (!page)
                return VM_FAULT_OOM;
-       clear_user_page(page_address(page), vaddr, page);
+       clear_user_page(page_address(page), (unsigned long)vmf->virtual_address,
+                       page);
        vmf->page = page;
        return 0;
 }
-
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