[PATCH 4/6] fbdev: Validate info->screen_{base,buffer} in fb_ops implementations
Javier Martinez Canillas
javierm at redhat.com
Tue Apr 25 16:39:48 UTC 2023
Thomas Zimmermann <tzimmermann at suse.de> 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 <tzimmermann at suse.de>
> ---
Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list