RE: [PATCH v5] panic: add panic_force_cpu= parameter to redirect panic to a specific CPU
From: Pnina Feder
Date: Sun Jan 11 2026 - 05:09:30 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.
I'll add the cast back in v6 :)
Pnina