Skip to contentSkip to conversation

Document/gpu: Use new vm_fault_t type

PATCH Applied Souptick Joarder 2 participants 2 messages Sep 4, 2018

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

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

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

---
v2: Revert spaces added in v1

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

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

---
v2: Revert spaces added in v1

Thanks, applied to drm-misc-next.
-Daniel

Quoted 20 lines
 Documentation/gpu/drm-mm.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gpu/drm-mm.rst +1 -1
index 21b6b72..c3ae888 100644
@@ -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);
 	};
 
 
Signature · 1 line
1.9.1
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch