Merge 3.13-rc4 into char-misc-next

We want these fixes in here.
This commit is contained in:
Greg Kroah-Hartman 2013-12-16 16:11:28 -08:00
commit 138a6d7ea2

View file

@ -653,6 +653,8 @@ static int uio_mmap_physical(struct vm_area_struct *vma)
return -EINVAL;
mem = idev->info->mem + mi;
if (mem->addr & ~PAGE_MASK)
return -ENODEV;
if (vma->vm_end - vma->vm_start > mem->size)
return -EINVAL;