x86/dumpstack: Remove extra brackets around "<EOE>"
authorJosh Poimboeuf <[email protected]>
Thu, 18 Aug 2016 15:59:04 +0000 (10:59 -0500)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Byungchul Park <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Nilay Vaish <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/77f185fd5b81845869b400aa619415458df6b6cc.1471535549.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
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