linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Document/gpu: Use new vm_fault_t type
@ 2018-08-28 17:14 Souptick Joarder
  2018-08-28 22:06 ` Matthew Wilcox
  0 siblings, 1 reply; 4+ messages in thread
From: Souptick Joarder @ 2018-08-28 17:14 UTC (permalink / raw)
  To: gustavo, maarten.lankhorst, seanpaul, airlied, corbet, akpm
  Cc: dri-devel, linux-doc, linux-kernel, willy

We have introduce a new return type vm_fault_t for
fault handler. Update the document for the same.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
 Documentation/gpu/drm-mm.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/gpu/drm-mm.rst b/Documentation/gpu/drm-mm.rst
index 21b6b72..23ae261 100644
--- a/Documentation/gpu/drm-mm.rst
+++ b/Documentation/gpu/drm-mm.rst
@@ -295,9 +295,9 @@ made up of several fields, the more interesting ones being:
 .. code-block:: c
 
 	struct vm_operations_struct {
-		void (*open)(struct vm_area_struct * area);
-		void (*close)(struct vm_area_struct * area);
-		int (*fault)(struct vm_fault *vmf);
+		void       (*open)(struct vm_area_struct * area);
+		void       (*close)(struct vm_area_struct * area);
+		vm_fault_t (*fault)(struct vm_fault *vmf);
 	};
 
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] Document/gpu: Use new vm_fault_t type
@ 2018-09-04  4:15 Souptick Joarder
  2018-09-04 13:07 ` Daniel Vetter
  0 siblings, 1 reply; 4+ messages in thread
From: Souptick Joarder @ 2018-09-04  4:15 UTC (permalink / raw)
  To: willy, gustavo, maarten.lankhorst, sean, airlied, corbet
  Cc: dri-devel, linux-doc, linux-kernel

We have introduce new return type vm_fault_t for
fault handler. Update the document for the same.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
v2: Revert spaces added in v1

 Documentation/gpu/drm-mm.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/gpu/drm-mm.rst b/Documentation/gpu/drm-mm.rst
index 21b6b72..c3ae888 100644
--- a/Documentation/gpu/drm-mm.rst
+++ b/Documentation/gpu/drm-mm.rst
@@ -297,7 +297,7 @@ made up of several fields, the more interesting ones being:
 	struct vm_operations_struct {
 		void (*open)(struct vm_area_struct * area);
 		void (*close)(struct vm_area_struct * area);
-		int (*fault)(struct vm_fault *vmf);
+		vm_fault_t (*fault)(struct vm_fault *vmf);
 	};
 
 
-- 
1.9.1


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

end of thread, other threads:[~2018-09-04 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-28 17:14 [PATCH] Document/gpu: Use new vm_fault_t type Souptick Joarder
2018-08-28 22:06 ` Matthew Wilcox
2018-09-04  4:15 Souptick Joarder
2018-09-04 13:07 ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).