mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
drivers/dma-buf/udmabuf.c: convert to use vm_fault_t
Use new return type vm_fault_t for fault handler. Link: http://lkml.kernel.org/r/20181106173628.GA12989@jordon-HP-15-Notebook-PC Signed-off-by: Souptick Joarder <[email protected]> Cc: Gerd Hoffmann <[email protected]> Cc: Sumit Semwal <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
304ae42739
commit
300133d372
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ struct udmabuf {
|
|||
struct page **pages;
|
||||
};
|
||||
|
||||
static int udmabuf_vm_fault(struct vm_fault *vmf)
|
||||
static vm_fault_t udmabuf_vm_fault(struct vm_fault *vmf)
|
||||
{
|
||||
struct vm_area_struct *vma = vmf->vma;
|
||||
struct udmabuf *ubuf = vma->vm_private_data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue