All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] video: fbdev: core: Change return type to vm_fault_t
@ 2018-04-14 19:35 Matthew Wilcox
  2018-04-14 19:47 ` Souptick Joarder
  2018-04-24 15:56 ` Bartlomiej Zolnierkiewicz
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Wilcox @ 2018-04-14 19:35 UTC (permalink / raw)
  To: linux-fbdev


I don't think we need to bother Andrew with this.  I found a newer email
address for Jaya; let's try that, and the linux-fbdev mailing list.

On Sun, Apr 15, 2018 at 12:40:14AM +0530, Souptick Joarder wrote:
> Mail-Id of Maintainer doesn't in invalid. Shall i send this patch to Andrew ?
> 
> On Sun, Apr 15, 2018 at 12:40 AM, Souptick Joarder <jrdr.linux@gmail.com> wrote:
> > Use new return type vm_fault_t for fault handler
> > and page_mkwrite handler.
> >
> > Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
> > Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
> > ---
> >  drivers/video/fbdev/core/fb_defio.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/video/fbdev/core/fb_defio.c b/drivers/video/fbdev/core/fb_defio.c
> > index 487d5e3..82c20c6 100644
> > --- a/drivers/video/fbdev/core/fb_defio.c
> > +++ b/drivers/video/fbdev/core/fb_defio.c
> > @@ -37,7 +37,7 @@ static struct page *fb_deferred_io_page(struct fb_info *info, unsigned long offs
> >  }
> >
> >  /* this is to find and return the vmalloc-ed fb pages */
> > -static int fb_deferred_io_fault(struct vm_fault *vmf)
> > +static vm_fault_t fb_deferred_io_fault(struct vm_fault *vmf)
> >  {
> >         unsigned long offset;
> >         struct page *page;
> > @@ -90,7 +90,7 @@ int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasy
> >  EXPORT_SYMBOL_GPL(fb_deferred_io_fsync);
> >
> >  /* vm_ops->page_mkwrite handler */
> > -static int fb_deferred_io_mkwrite(struct vm_fault *vmf)
> > +static vm_fault_t fb_deferred_io_mkwrite(struct vm_fault *vmf)
> >  {
> >         struct page *page = vmf->page;
> >         struct fb_info *info = vmf->vma->vm_private_data;
> > --
> > 1.9.1
> >

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

* [PATCH] video: fbdev: core: Change return type to vm_fault_t
  2018-04-14 19:35 [PATCH] video: fbdev: core: Change return type to vm_fault_t Matthew Wilcox
@ 2018-04-14 19:47 ` Souptick Joarder
  2018-04-24 15:56 ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 3+ messages in thread
From: Souptick Joarder @ 2018-04-14 19:47 UTC (permalink / raw)
  To: linux-fbdev

Use new return type vm_fault_t for fault handler
and page_mkwrite handler.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
---
 drivers/video/fbdev/core/fb_defio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/fbdev/core/fb_defio.c b/drivers/video/fbdev/core/fb_defio.c
index 487d5e3..82c20c6 100644
--- a/drivers/video/fbdev/core/fb_defio.c
+++ b/drivers/video/fbdev/core/fb_defio.c
@@ -37,7 +37,7 @@ static struct page *fb_deferred_io_page(struct fb_info *info, unsigned long offs
 }

 /* this is to find and return the vmalloc-ed fb pages */
-static int fb_deferred_io_fault(struct vm_fault *vmf)
+static vm_fault_t fb_deferred_io_fault(struct vm_fault *vmf)
 {
 	unsigned long offset;
 	struct page *page;
@@ -90,7 +90,7 @@ int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasy
 EXPORT_SYMBOL_GPL(fb_deferred_io_fsync);

 /* vm_ops->page_mkwrite handler */
-static int fb_deferred_io_mkwrite(struct vm_fault *vmf)
+static vm_fault_t fb_deferred_io_mkwrite(struct vm_fault *vmf)
 {
 	struct page *page = vmf->page;
 	struct fb_info *info = vmf->vma->vm_private_data;
--
1.9.1


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

* Re: [PATCH] video: fbdev: core: Change return type to vm_fault_t
  2018-04-14 19:35 [PATCH] video: fbdev: core: Change return type to vm_fault_t Matthew Wilcox
  2018-04-14 19:47 ` Souptick Joarder
@ 2018-04-24 15:56 ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 3+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-04-24 15:56 UTC (permalink / raw)
  To: linux-fbdev

On Sunday, April 15, 2018 01:19:30 AM Souptick Joarder wrote:
> Use new return type vm_fault_t for fault handler
> and page_mkwrite handler.
> 
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
> Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>

Patch queued for 4.18, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


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

end of thread, other threads:[~2018-04-24 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-14 19:35 [PATCH] video: fbdev: core: Change return type to vm_fault_t Matthew Wilcox
2018-04-14 19:47 ` Souptick Joarder
2018-04-24 15:56 ` Bartlomiej Zolnierkiewicz

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.