UPSTREAM: x86/alternative: Print unadorned pointers
authorBorislav Petkov <bp@suse.de>
Fri, 26 Jan 2018 12:11:36 +0000 (13:11 +0100)
committerAlistair Strachan <astrachan@google.com>
Fri, 29 Mar 2019 04:16:20 +0000 (21:16 -0700)
commitef5c8849337f8fef1a46bcb0f2bdc8c0cde28482
tree78f5d42cd2be8851d0559e748bcf32b15053a758
parent3d3f9956c2ba0da4470e2554989dd51780704086
UPSTREAM: x86/alternative: Print unadorned pointers

After commit ad67b74d2469 ("printk: hash addresses printed with %p")
pointers are being hashed when printed. However, this makes the alternative
debug output completely useless. Switch to %px in order to see the
unadorned kernel pointers.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: riel@redhat.com
Cc: ak@linux.intel.com
Cc: peterz@infradead.org
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: jikos@kernel.org
Cc: luto@amacapital.net
Cc: dave.hansen@intel.com
Cc: torvalds@linux-foundation.org
Cc: keescook@google.com
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: tim.c.chen@linux.intel.com
Cc: gregkh@linux-foundation.org
Cc: pjt@google.com
Link: https://lkml.kernel.org/r/20180126121139.31959-2-bp@alien8.de
(cherry picked from commit 0e6c16c652cadaffd25a6bb326ec10da5bcec6b4)
Signed-off-by: Sandeep Patil <sspatil@android.com>
Bug: 78533979
Test: Build and boot cuttlefish
Change-Id: Ifd8e85564bce6530201ee1a8ea032a8ac2e65aee
arch/x86/kernel/alternative.c