Linus Torvalds writes: (Summary) wrote:
but %p[sSfFB] really do.
We use %pS/%pB to print out the instruction pointer. And a fault might be due to the instruction pointer being bad.
be due to the instruction pointer being bad.
And then we very much need to see the value, which the current
So printing <efault> In fact, _only_ NULL itself needs to be printed as (null), because we'd care if it's 0 or 8 or something.
[...]
It not only affects %p, but it also affects %pS and friends (sSfFB), Looking around at the x86 panic thing, %p doesn't matter that much, but %p[sSfFB] really do.but %p[sSfFB] really do.
We use %pS/%pB to print out the instruction pointer. And a fault might be due to the instruction pointer being bad.
be due to the instruction pointer being bad.
And then we very much need to see the value, which the current
[...]
pS-and-friends falls back to.So printing <efault> In fact, _only_ NULL itself needs to be printed as (null), because we'd care if it's 0 or 8 or something.