x86/dumpstack: Remove extra brackets around "<EOE>"
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 18 Aug 2016 15:59:04 +0000 (10:59 -0500)
committerIngo Molnar <mingo@kernel.org>
Thu, 18 Aug 2016 16:41:29 +0000 (18:41 +0200)
When starting the dump of an exception stack, it shows "<<EOE>>" instead
of "<EOE>".  print_trace_stack() already adds brackets, no need to add
them again.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Byungchul Park <byungchul.park@lge.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nilay Vaish <nilayvaish@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/77f185fd5b81845869b400aa619415458df6b6cc.1471535549.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/dumpstack_64.c

index 9ee4520ce83c8fe0dd127a50e7022010f86414ca..daf9f6321856b8c5ae0485a55a77defb255e2e0d 100644 (file)
@@ -202,7 +202,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs,
 
                        bp = ops->walk_stack(task, stack, bp, ops,
                                             data, stack_end, &graph);
-                       ops->stack(data, "<EOE>");
+                       ops->stack(data, "EOE");
                        /*
                         * We link to the next stack via the
                         * second-to-last pointer (index -2 to end) in the