提交 6225f323 编写于 作者: J Josh Poimboeuf 提交者: Ingo Molnar

x86/dumpstack: Remove extra brackets around "<EOE>"

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: NJosh 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.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 b32f96c7
...@@ -202,7 +202,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs, ...@@ -202,7 +202,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs,
bp = ops->walk_stack(task, stack, bp, ops, bp = ops->walk_stack(task, stack, bp, ops,
data, stack_end, &graph); data, stack_end, &graph);
ops->stack(data, "<EOE>"); ops->stack(data, "EOE");
/* /*
* We link to the next stack via the * We link to the next stack via the
* second-to-last pointer (index -2 to end) in the * second-to-last pointer (index -2 to end) in the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册