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

Pnina Feder
2026-01-11T10:09:30Z

> 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.

I'll add the cast back in v6 :)

Pnina