Re: [PATCH printk v2 5/5] printk: Rename abandon_console_lock_in_panic() to other_cpu_in_panic()
From: Petr Mladek
Date: Thu Jul 13 2023 - 11:55:38 EST
On Mon 2023-07-10 15:51:24, John Ogness wrote:
> Currently abandon_console_lock_in_panic() is only used to determine if
> the current CPU should immediately release the console lock because
> another CPU is in panic. However, later this function will be used by
> the CPU to immediately release other resources in this situation.
>
> Rename the function to other_cpu_in_panic(), which is a better
> description and does not assume it is related to the console lock.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
Looks good:
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr