diff options
| author | luyuantao <luyuantao@kylinos.cn> | 2026-01-26 18:07:32 +0800 |
|---|---|---|
| committer | Jocelyn Falempe <jfalempe@redhat.com> | 2026-10-19 11:36:49 +0200 |
| commit | b537d87d2632c9a72afa08755b2de89a5b3ab70f (patch) | |
| tree | c1a5668c54b39f889dc963d6ac1f8a8106df663c /include/linux | |
| parent | 324fac81f365fc123247f9c8a52cb66ebd93b5e5 (diff) | |
drm/panic: Fix the loop that causes kmsg to not display correctly
When kmsg_buf completes drawing the screen and yoffset is less than 0,
kmsg_dump_get_buffer continues to obtain the buffer. This potential loop
may cause panic_flush not to be executed immediately or even not to be
executed at all, resulting in a garbled screen display instead of normal
logs
So, the loop should be exited immediately after drawing kmsg_buf
Signed-off-by: luyuantao <luyuantao@kylinos.cn>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patch.msgid.link/20260126100732.365-1-luyuantao01@163.com
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
