udmabuf: Convert to use vm_fault_t
diff mbox series

Message ID 20181106173628.GA12989@jordon-HP-15-Notebook-PC
State In Next
Commit 300133d372b7b541c7e7c5e8d63ea5439f9865b6
Headers show
Series
  • udmabuf: Convert to use vm_fault_t
Related show

Commit Message

Souptick Joarder Nov. 6, 2018, 5:36 p.m. UTC
Use new return type vm_fault_t for fault handler.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
 drivers/dma-buf/udmabuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index 5b44ef2..699b6b7 100644
--- a/drivers/dma-buf/udmabuf.c
+++ b/drivers/dma-buf/udmabuf.c
@@ -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;