summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2019-01-04 00:26:34 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-01-04 22:13:46 +0100
commit300133d372b7b541c7e7c5e8d63ea5439f9865b6 (patch)
treea1fe53f4e3adf02fc9b7d8788719335257c33abd /drivers/dma-buf
parentkernel/hung_task.c: break RCU locks based on jiffies (diff)
downloadlinux-300133d372b7b541c7e7c5e8d63ea5439f9865b6.tar.xz
linux-300133d372b7b541c7e7c5e8d63ea5439f9865b6.zip
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 <jrdr.linux@gmail.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r--drivers/dma-buf/udmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index fc359ca4503d..cd57747286f2 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;