/-/issues/15020
> Cc: Samasth Norway Ananda
> Cc: Thomas Zimmermann
> Cc: George Kennedy
> Cc: Greg Kroah-Hartman
> Cc: Simona Vetter
> Cc: Helge Deller
> Cc: "Ville Syrjälä"
> Cc: Sam Ravnborg
> Cc: Qianqiang Liu
> Cc: Shixiong Ou
> Cc: Kees Cook
> Cc:
panic()/crash_kexec()
>* call.
> */
> - atomic_set(&panic_cpu, PANIC_CPU_INVALID);
> + panic_reset();
> }
> }
>
> --
> 2.43.0
--
Best,
Qianqiang Liu
return (info->skip_panic && unlikely(oops_in_progress));
> -#else
> - return (info->skip_panic && unlikely(atomic_read(&panic_cpu) !=
> PANIC_CPU_INVALID));
> -#endif
> + return (info->skip_panic && unlikely(panic_in_progress()));
> }
>
> static inline bool fbcon_is_active(struct vc_data *vc, struct fb_info *info)
> --
> 2.43.0
Acked-by Qianqiang Liu
--
Best,
Qianqiang Liu
Break the for loop immediately upon finding the target, making the
process more efficient.
Signed-off-by: Qianqiang Liu
---
drivers/video/fbdev/core/fbcon.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core
/syzkaller.appspot.com/bug?extid=3d613ae53c031502687a
Tested-by: syzbot+3d613ae53c0315026...@syzkaller.appspotmail.com
Signed-off-by: Qianqiang Liu
---
Changes since v2:
- Document the commit message in more detail
---
Changes since v1:
- Initialize ops->putcs by calling set_blitting_type()
87a
Tested-by: syzbot+3d613ae53c0315026...@syzkaller.appspotmail.com
Signed-off-by: Qianqiang Liu
---
Changes since v1:
- Initialize ops->putcs by calling set_blitting_type()
---
drivers/video/fbdev/core/fbcon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/video/fbdev/core/f
&con2fb);
return 0;
}
But I still need time to debug the kernel code..
--
Best,
Qianqiang Liu
> I think this patch just hides the real problem.
> How could putcs have become NULL ?
>
> Helge
Oh, you are right!
I will figure it out.
Best,
Qianqiang Liu
bot+3d613ae53c0315026...@syzkaller.appspotmail.com
Signed-off-by: Qianqiang Liu
---
drivers/video/fbdev/core/fbcon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
index 3f7333dca508..96c1262cc981 100644
--- a/driv