Re: [PATCH v5] panic: add panic_force_cpu= parameter to redirect panic to a specific CPU

Andrew Morton
2026-01-09T22:41:46Z

On Fri, 9 Jan 2026 23:19:34 +0100 kernel test robot <lkp@intel.com> 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.