video: fbdev: core: Change return type to vm_fault_t
Subsystems (3)
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.
Quoted 37 lines · Souptick Joarder
Mail-Id of Maintainer doesn't in invalid. Shall i send this patch to Andrew ?
Quoted 34 lines · Souptick Joarder
Use new return type
vm_fault_tfor fault handler
andpage_mkwritehandler.Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>--- drivers/video/fbdev/core/fb_defio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/video/fbdev/core/fb_defio.c +2
-3@@ -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 datasyEXPORT_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
PATCH 1/1 video: fbdev: core: Change return type to vm_fault_t
Use new return type vm_fault_t for fault handler
and page_mkwrite handler.
Signed-off-by Souptick Joarder <[email protected]>
Reviewed-by Matthew Wilcox <[email protected]>
--- drivers/video/fbdev/core/fb_defio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/video/fbdev/core/fb_defio.c +2 -2
@@ -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 datasyEXPORT_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
Quoted 5 lines · Souptick Joarder
Use new return type
vm_fault_tfor fault handler
andpage_mkwritehandler.Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>
Patch queued for 4.18, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics