Merge 3.13-rc4 into char-misc-next
We want these fixes in here.
This commit is contained in:
commit
138a6d7ea2
1 changed files with 12674 additions and 5775 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue