Thread (18 messages) 18 messages, 3 authors, 2025-09-17

Re: [PATCH v2 6/9] printk/nbcon: use panic_on_this_cpu() helper

From: Petr Mladek <pmladek@suse.com>
Date: 2025-09-16 11:21:34
Also in: dri-devel, kexec, linux-hardening, lkml

On Mon 2025-08-25 10:29:34, Jinchao Wang wrote:
nbcon_context_try_acquire() compared panic_cpu directly with
smp_processor_id().  This open-coded check is now provided by
panic_on_this_cpu().

Switch to panic_on_this_cpu() to simplify the code and improve readability.
Signed-off-by: Jinchao Wang <redacted>
It looks good to me:

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help