Skip to content

Commit

Permalink
vfio iommu type1: merge fix for get_user_pages_remote API change
Browse files Browse the repository at this point in the history
Link: http://lkml.kernel.org/r/20161122210511.024ec341@canb.auug.org.au
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
sfrothwell authored and hnaz committed Dec 7, 2016
1 parent 2d4d461 commit 0d3835a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/vfio/vfio_iommu_type1.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static int vaddr_get_pfn(struct mm_struct *mm, unsigned long vaddr,

down_read(&mm->mmap_sem);
ret = get_user_pages_remote(NULL, mm, vaddr, 1, flags, page,
NULL);
NULL, NULL);
up_read(&mm->mmap_sem);
}

Expand Down

0 comments on commit 0d3835a

Please sign in to comment.