diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-05 08:23:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-05 08:23:20 -0800 |
commit | b7ad7ef742a99c148631d38a98da72e7db8f6fd0 (patch) | |
tree | f1220e5408f828782c884fc8612ad045f30b5fd4 /kernel/printk/printk.c | |
parent | fd6d2e506ce6f850d45342a15c896591291b77b5 (diff) | |
download | linux-stable-b7ad7ef742a99c148631d38a98da72e7db8f6fd0.tar.gz linux-stable-b7ad7ef742a99c148631d38a98da72e7db8f6fd0.tar.bz2 linux-stable-b7ad7ef742a99c148631d38a98da72e7db8f6fd0.zip |
remove task and stack pointer printout from oops dump
Geert Uytterhoeven reported a NFS oops, and pointed out that some of the
numbers were hashed and useless.
We could just turn them from '%p' into '%px', but those numbers are
really just legacy, and useless even when not hashed.
So just remove them entirely.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk/printk.c')
-rw-r--r-- | kernel/printk/printk.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 5d81206a572d..b9006617710f 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -3141,9 +3141,6 @@ void dump_stack_print_info(const char *log_lvl) void show_regs_print_info(const char *log_lvl) { dump_stack_print_info(log_lvl); - - printk("%stask: %p task.stack: %p\n", - log_lvl, current, task_stack_page(current)); } #endif |