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

2023-04-26 Thread Thomas Zimmermann
Hi Am 26.04.23 um 16:49 schrieb Geert Uytterhoeven: Hi Thomas, On Tue, Apr 25, 2023 at 4:28 PM Thomas Zimmermann wrote: 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_op

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

2023-04-26 Thread Geert Uytterhoeven
Hi Thomas, On Tue, Apr 25, 2023 at 4:28 PM Thomas Zimmermann wrote: > 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 Zi

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

2023-04-26 Thread Sui Jingfeng
Tested-by: Sui Jingfeng On 2023/4/25 22:28, Thomas Zimmermann wrote: 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 Zimmerm

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

2023-04-25 Thread Javier Martinez Canillas
Thomas Zimmermann 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 > --- Reviewed-by: Javier Marti

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

2023-04-25 Thread Thomas Zimmermann
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 --- drivers/video/fbdev/core/fb_sys_fops.c | 6 -- drivers/video