diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2019-01-03 15:26:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-04 13:13:46 -0800 |
commit | 300133d372b7b541c7e7c5e8d63ea5439f9865b6 (patch) | |
tree | a1fe53f4e3adf02fc9b7d8788719335257c33abd /drivers/dma-buf/udmabuf.c | |
parent | 304ae42739b108305f8d7b3eb3c1aec7c2b643a9 (diff) | |
download | linux-stable-300133d372b7b541c7e7c5e8d63ea5439f9865b6.tar.gz linux-stable-300133d372b7b541c7e7c5e8d63ea5439f9865b6.tar.bz2 linux-stable-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/udmabuf.c')
-rw-r--r-- | drivers/dma-buf/udmabuf.c | 2 |
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; |