diff options
author | Geert Uytterhoeven <[email protected]> | 2017-12-14 15:32:58 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-12-14 16:00:48 -0800 |
commit | 85c3e4a5a185f22649c6bf33bdce7bb1ac890921 (patch) | |
tree | fd80bad79d44c8f1c032e0134e0fba3971f9b56c /net/unix/sysctl_net_unix.c | |
parent | c24ad77d962c31af92f2b731dad2104cbf3fbb03 (diff) |
mm/slab.c: do not hash pointers when debugging slab
If CONFIG_DEBUG_SLAB/CONFIG_DEBUG_SLAB_LEAK are enabled, the slab code
prints extra debug information when e.g. corruption is detected. This
includes pointers, which are not very useful when hashed.
Fix this by using %px to print unhashed pointers instead where it makes
sense, and by removing the printing of a last user pointer referring to
code.
[[email protected]: v2]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Fixes: ad67b74d2469d9b8 ("printk: hash addresses printed with %p")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: "Tobin C . Harding" <[email protected]>
Cc: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions