Message ID | 20180904041505.GA2712@jordon-HP-15-Notebook-PC (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Document/gpu: Use new vm_fault_t type | expand |
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 >
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); };
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(-)