Skip to contentSkip to conversation

Document/gpu: Use new vm_fault_t type

PATCH In review Souptick Joarder 2 participants 3 messages Aug 28, 2018 – Aug 29, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Document/gpu: Use new vm_fault_t type

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

---
 Documentation/gpu/drm-mm.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/gpu/drm-mm.rst +3 -3
index 21b6b72..23ae261 100644
@@ -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);
 	};
 
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Souptick Joarder

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

Have you built the documentation and checked the html looks better with the changed spacing? rst can be a bit weird about some of these things.

#2 lore raw
Quoted 7 lines · Matthew Wilcox
Quoted 2 lines · Souptick Joarder

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

Have you built the documentation and checked the html looks better with the changed spacing?

Is there any separate way to build document folders other than "make" ? I will verify.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel