Thread (3 messages) 3 messages, 2 authors, 2022-05-03

Re: [PATCH] fbdev: Use helper to get fb_info in all file operations

From: Javier Martinez Canillas <javierm@redhat.com>
Date: 2022-05-03 20:31:59
Also in: dri-devel, lkml

Hello Sam,

On 5/3/22 19:14, Sam Ravnborg wrote:
Hi Javier,
[snip]
quoted
 
 int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync)
 {
-	struct fb_info *info = file->private_data;
+	struct fb_info *info = fb_file_fb_info(file->private_data);
This looks wrong. I assume you wanted to write:
quoted
+	struct fb_info *info = fb_file_fb_info(file);
Right I did. Thanks for pointing out.

-- 
Best regards,

Javier Martinez Canillas
Linux Engineering
Red Hat
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help