Re: [PATCH V2 1/5] panic: clean up code for console replay
From: Petr Mladek
Date: Fri Jun 20 2025 - 10:19:36 EST
On Mon 2025-06-16 09:08:36, Feng Tang wrote:
> Currently the panic_print_sys_info() was called twice with different
> parameters to handle console replay case, which is kind of confusing.
>
> Add panic_console_replay() explicitly to make the code straightforward.
>
> Suggested-by: Petr Mladek <pmladek@xxxxxxxx>
> Signed-off-by: Feng Tang <feng.tang@xxxxxxxxxxxxxxxxx>
Looks good to me:
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr