Re: [PATCH v5] panic: add panic_force_cpu= parameter to redirect panic to a specific CPU
From: Andrew Morton
Date: Fri Jan 09 2026 - 17:41:46 EST
On Fri, 9 Jan 2026 23:19:34 +0100 kernel test robot <lkp@xxxxxxxxx> wrote:
> kernel/panic.c: In function 'do_panic_on_target_cpu':
> >> kernel/panic.c:327:17: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=]
> 327 | panic("%s", info);
> | ~^ ~~~~
Thanks. That's what you get for listening to akpm ;)
Stupid compiler.