[PATCH 3/6] fbdev: Don't re-validate info->state in fb_ops implementations

Javier Martinez Canillas javierm at redhat.com
Tue Apr 25 16:38:07 UTC 2023


Thomas Zimmermann <tzimmermann at suse.de> writes:

> The file-op entry points fb_read() and fb_write() verify that
> info->state has been set to FBINFO_STATE_RUNNING. Remove the same
> test from the implementations of struct fb_ops.{fb_read,fb_write}.
>
> 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