diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-17 20:04:28 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-04-27 12:10:11 -0400 |
commit | 7991d96dd137408385f425cdf8ff815738ea2b49 (patch) | |
tree | fe2255b78e7a60a765d84247f9951d1189242e72 /drivers/infiniband/hw/qib | |
parent | d819734126ce705784ca2cd847ad7623825f1a08 (diff) |
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 'drivers/infiniband/hw/qib')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_file_ops.c | 2 |
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; |