media_build: add 4.10 patch

This commit is contained in:
MilhouseVH 2017-02-23 01:27:00 +00:00
parent 1dbd7771c0
commit 595e48b17d
2 changed files with 23 additions and 1 deletions

View File

@ -1,6 +1,6 @@
--- a/backports/backports.txt
+++ b/backports/backports.txt
@@ -25,6 +25,14 @@
@@ -25,6 +25,15 @@
add pr_fmt.patch
add debug.patch
add drx39xxj.patch
@ -12,6 +12,7 @@
+add linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch
+add linux-062-imon_pad_ignore_diagonal.patch
+add linux-240-pctv452e_kernel_oops_in_4.9.patch
+add linux-250-fix-for-kernel-4.10.patch
[4.8.255]
add v4.8_user_pages_flag.patch

View File

@ -0,0 +1,21 @@
mm: use vmf->address instead of of vmf->virtual_address
drop at media_build bump
taken from https://github.com/torvalds/linux/commit/1a29d85eb0f19b7d8271923d8917d7b4f5540b3e
--- a/drivers/media/v4l2-core/videobuf-dma-sg.c
+++ b/drivers/media/v4l2-core/videobuf-dma-sg.c
@@ -439,13 +439,12 @@ static int videobuf_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
struct page *page;
dprintk(3, "fault: fault @ %08lx [vma %08lx-%08lx]\n",
- (unsigned long)vmf->virtual_address,
- vma->vm_start, vma->vm_end);
+ vmf->address, vma->vm_start, vma->vm_end);
page = alloc_page(GFP_USER | __GFP_DMA32);
if (!page)
return VM_FAULT_OOM;
- clear_user_highpage(page, (unsigned long)vmf->virtual_address);
+ clear_user_highpage(page, vmf->address);
vmf->page = page;
return 0;