Skip to contentSkip to conversation

ipc: Adding new return type vm_fault_t

PATCH New Souptick Joarder 1 participant 1 message Apr 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipc: Adding new return type vm_fault_t

Use new return type vm_fault_t for fault handler.

---
 ipc/shm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ipc/shm.c +1 -1
index 4643865..2ba0cfc 100644
@@ -378,7 +378,7 @@ void exit_shm(struct task_struct *task)
 	up_write(&shm_ids(ns).rwsem);
 }
 
-static int shm_fault(struct vm_fault *vmf)
+static vm_fault_t shm_fault(struct vm_fault *vmf)
 {
 	struct file *file = vmf->vma->vm_file;
 	struct shm_file_data *sfd = shm_file_data(file);
Signature · 1 line
1.9.1