luyuantao01 <[email protected]> writes: > From: luyuantao <[email protected]> > > 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 <[email protected]> > ---
Makes sense to me. Acked-by: Javier Martinez Canillas <[email protected]> -- Best regards, Javier Martinez Canillas Core Platforms Red Hat
