Re: [PATCH 4/6] fbdev: Validate info->screen_{base, buffer} in fb_ops implementations

2023-04-27 Thread Thomas Zimmermann
Hi Am 26.04.23 um 16:56 schrieb Geert Uytterhoeven: Hi Thomas, On Tue, Apr 25, 2023 at 4:28 PM Thomas Zimmermann wrote: Push the test for info->screen_base from fb_read() and fb_write() into the implementations of struct fb_ops.{fb_read,fb_write}. In cases where the driver operates on info->

Re: [PATCH 4/6] fbdev: Validate info->screen_{base, buffer} in fb_ops implementations

2023-04-26 Thread Geert Uytterhoeven
Hi Thomas, On Tue, Apr 25, 2023 at 4:28 PM Thomas Zimmermann wrote: > Push the test for info->screen_base from fb_read() and fb_write() into > the implementations of struct fb_ops.{fb_read,fb_write}. In cases where > the driver operates on info->screen_buffer, test this field instead. > > Signed

Re: [PATCH 4/6] fbdev: Validate info->screen_{base,buffer} in fb_ops implementations

2023-04-25 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Push the test for info->screen_base from fb_read() and fb_write() into > the implementations of struct fb_ops.{fb_read,fb_write}. In cases where > the driver operates on info->screen_buffer, test this field instead. > > Signed-off-by: Thomas Zimmermann > --- Reviewed

[PATCH 4/6] fbdev: Validate info->screen_{base, buffer} in fb_ops implementations

2023-04-25 Thread Thomas Zimmermann
Push the test for info->screen_base from fb_read() and fb_write() into the implementations of struct fb_ops.{fb_read,fb_write}. In cases where the driver operates on info->screen_buffer, test this field instead. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/cobalt_lcdfb.c | 6 +++