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:
Souptick Joarder 2019-01-03 15:26:34 -08:00 • committed by Linus Torvalds
commit 300133d372

View file

@ -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;