All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen: Change return type to vm_fault_t
@ 2018-04-14 19:15 Souptick Joarder
  2018-04-16  8:02 ` Juergen Gross
  2018-05-17  6:43 ` Juergen Gross
  0 siblings, 2 replies; 6+ messages in thread
From: Souptick Joarder @ 2018-04-14 19:15 UTC (permalink / raw)
  To: boris.ostrovsky, jgross; +Cc: xen-devel, willy

Use new return type vm_fault_t for fault handler
in struct vm_operations_struct.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
---
 drivers/xen/privcmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
index 1c90918..0a778d3 100644
--- a/drivers/xen/privcmd.c
+++ b/drivers/xen/privcmd.c
@@ -801,7 +801,7 @@ static void privcmd_close(struct vm_area_struct *vma)
 	kfree(pages);
 }

-static int privcmd_fault(struct vm_fault *vmf)
+static vm_fault_t privcmd_fault(struct vm_fault *vmf)
 {
 	printk(KERN_DEBUG "privcmd_fault: vma=%p %lx-%lx, pgoff=%lx, uv=%p\n",
 	       vmf->vma, vmf->vma->vm_start, vmf->vma->vm_end,
--
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-17  6:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-14 19:15 [PATCH] xen: Change return type to vm_fault_t Souptick Joarder
2018-04-16  8:02 ` Juergen Gross
2018-05-10 13:53   ` Souptick Joarder
2018-05-10 17:32     ` Boris Ostrovsky
2018-05-10 17:38       ` Souptick Joarder
2018-05-17  6:43 ` Juergen Gross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.