Commit c32ed714 authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Linus Torvalds

[PATCH] missing argument to clear_user_page in v4l

  David Mosberger added argument page to clear_user_page, but
apparently did not scan whole tree to find callers. Please apply.
It's the only such call in the non-arch specific portion of tree.
parent 77da0c5c
...@@ -365,7 +365,7 @@ videobuf_vm_nopage(struct vm_area_struct *vma, unsigned long vaddr, ...@@ -365,7 +365,7 @@ videobuf_vm_nopage(struct vm_area_struct *vma, unsigned long vaddr,
page = alloc_page(GFP_USER); page = alloc_page(GFP_USER);
if (!page) if (!page)
return NOPAGE_OOM; return NOPAGE_OOM;
clear_user_page(page_address(page), vaddr); clear_user_page(page_address(page), vaddr, page);
return page; return page;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment