Skip to contentSkip to conversation

arch/s390: Use new return type vm_fault_t

PATCH In review Souptick Joarder 3 participants 3 messages Jul 22, 2018 – Jul 23, 2018 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/s390: Use new return type vm_fault_t

use new return type vm_fault_t for fault handler vdso_fault.

---
 arch/s390/kernel/vdso.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/kernel/vdso.c +1 -1
index 09abae4..3031cc6 100644
@@ -47,7 +47,7 @@
  */
 unsigned int __read_mostly vdso_enabled = 1;
 
-static int vdso_fault(const struct vm_special_mapping *sm,
+static vm_fault_t vdso_fault(const struct vm_special_mapping *sm,
 		      struct vm_area_struct *vma, struct vm_fault *vmf)
 {
 	struct page **vdso_pagelist;
Signature · 1 line
1.9.1
#2 lore raw
Quoted 6 lines · On Sun, 22 Jul 2018 08:22:48 -0700 Matthew Wilcox <[email protected]> wrote:
Quoted 3 lines · Souptick Joarder

use new return type vm_fault_t for fault handler vdso_fault.

I modified the patch description a bit and then added the patch to my tree. Thanks.

Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.