All of lore.kernel.org
 help / color / mirror / Atom feed
* [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; 5+ 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] 5+ messages in thread

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

On Tue, Sep 04, 2018 at 09:45:05AM +0530, Souptick Joarder wrote:
> 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

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

> 
>  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
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

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

* Re: [PATCH] Document/gpu: Use new vm_fault_t type
  2018-08-28 22:06 ` Matthew Wilcox
@ 2018-08-29 15:05   ` Souptick Joarder
  0 siblings, 0 replies; 5+ messages in thread
From: Souptick Joarder @ 2018-08-29 15:05 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: Jonathan Corbet, airlied, linux-doc, linux-kernel, dri-devel,
	Sean Paul, Andrew Morton


[-- Attachment #1.1: Type: text/plain, Size: 435 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 649 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH] Document/gpu: Use new vm_fault_t type
  2018-08-28 17:14 Souptick Joarder
@ 2018-08-28 22:06 ` Matthew Wilcox
  2018-08-29 15:05   ` Souptick Joarder
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 2018-08-28 22:06 UTC (permalink / raw)
  To: Souptick Joarder
  Cc: gustavo, maarten.lankhorst, seanpaul, airlied, corbet, akpm,
	dri-devel, linux-doc, linux-kernel

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.


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

* [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; 5+ 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] 5+ messages in thread

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

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

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.