aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_file_ops.c
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2018-04-17 20:04:28 +0530
committerDoug Ledford <dledford@redhat.com>2018-04-27 12:10:11 -0400
commit7991d96dd137408385f425cdf8ff815738ea2b49 (patch)
treefe2255b78e7a60a765d84247f9951d1189242e72 /drivers/infiniband/hw/qib/qib_file_ops.c
parentinfiniband: hw: hfi1: Change return type to vm_fault_t (diff)
downloadlinux-dev-7991d96dd137408385f425cdf8ff815738ea2b49.tar.xz
linux-dev-7991d96dd137408385f425cdf8ff815738ea2b49.zip
infiniband: hw: qib: Change return type to vm_fault_t
Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. Reference id -> 1c8f422059ae ("mm: change return type to vm_fault_t") Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/qib/qib_file_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c
index 6a8800b65047..bbb720bfd030 100644
--- a/drivers/infiniband/hw/qib/qib_file_ops.c
+++ b/drivers/infiniband/hw/qib/qib_file_ops.c
@@ -868,7 +868,7 @@ bail:
/*
* qib_file_vma_fault - handle a VMA page fault.
*/
-static int qib_file_vma_fault(struct vm_fault *vmf)
+static vm_fault_t qib_file_vma_fault(struct vm_fault *vmf)
{
struct page *page;