]> git.baikalelectronics.ru Git - kernel.git/commit
x86: don't hash faulting address in oops printout
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Dec 2017 01:59:29 +0000 (17:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Dec 2017 01:59:29 +0000 (17:59 -0800)
commitf31d0a995b4c90e513e0919c540b702b2c499eb8
tree60a22558e0361943d3d3734f3085b4a6a6851674
parent1bda400d6620490b310dea1b681f859504c75aa2
x86: don't hash faulting address in oops printout

Things like this will probably keep showing up for other architectures
and other special cases.

I actually thought we already used %lx for this, and that is indeed
_historically_ the case, but we moved to %p when merging the 32-bit and
64-bit cases as a convenient way to get the formatting right (ie
automatically picking "%08lx" vs "%016lx" based on register size).

So just turn this %p into %px.

Reported-by: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/fault.c