diff mbox series

Document/gpu: Use new vm_fault_t type

Message ID 20180828171443.GA3854@jordon-HP-15-Notebook-PC (mailing list archive)
State New, archived
Headers show
Series Document/gpu: Use new vm_fault_t type | expand

Commit Message

Souptick Joarder Aug. 28, 2018, 5:14 p.m. UTC
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(-)

Comments

Matthew Wilcox Aug. 28, 2018, 10:06 p.m. UTC | #1
On Tue, Aug 28, 2018 at 10:44:43PM +0530, Souptick Joarder wrote:
> 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.
Souptick Joarder Aug. 29, 2018, 3:05 p.m. UTC | #2
On 29-Aug-2018 3:36 AM, "Matthew Wilcox" <willy@infradead.org> wrote:
>
> On Tue, Aug 28, 2018 at 10:44:43PM +0530, Souptick Joarder wrote:
> > 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.
<p dir="ltr"></p>
<p dir="ltr">On 29-Aug-2018 3:36 AM, &quot;Matthew Wilcox&quot; &lt;<a href="mailto:willy@infradead.org">willy@infradead.org</a>&gt; wrote:<br>
&gt;<br>
&gt; On Tue, Aug 28, 2018 at 10:44:43PM +0530, Souptick Joarder wrote:<br>
&gt; &gt; We have introduce a new return type vm_fault_t for<br>
&gt; &gt; fault handler. Update the document for the same.<br>
&gt;<br>
&gt; Have you built the documentation and checked the html looks better with<br>
&gt; the changed spacing? </p>
<p dir="ltr">Is there any separate way to build document folders other than &quot;make&quot; ?<br>
I will verify.</p>
<p dir="ltr"> <br></p>
diff mbox series

Patch

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);
 	};