Re: [PATCH] static_key: Improve uninizialized key warning

From: Steven Rostedt
Date: Wed Oct 18 2017 - 09:33:30 EST


On Wed, 18 Oct 2017 15:19:34 +0200
Ingo Molnar <mingo@xxxxxxxxxx> wrote:

> * Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> > but it doesn't tell me which key it is. So dump its address too:
> >
> > static_key_disable_cpuslocked, key ffffffff81c32680 used before call to jump_label_init
>
> Is it possible to print out a symbol instead of an absolute address - does that
> work for data symbols?

It should.

Boris, can you try it with "%pS" ?

-- Steve