Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1625318
| From | Josh Poimboeuf <jpoimboe@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/3] x86/unwind: prepend hex mask value with '0x' in unwind_dump() |
| Date | 2017-04-18 15:20 +0200 |
| Message-ID | <txBd0-6Cr-15@gated-at.bofh.it> (permalink) |
| References | <txBcZ-6Cr-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
In unwind_dump(), the stack mask value is printed in hex, but is
confusingly not prepended with '0x'.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
---
arch/x86/kernel/unwind_frame.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/unwind_frame.c b/arch/x86/kernel/unwind_frame.c
index 3ebe687..5d26374 100644
--- a/arch/x86/kernel/unwind_frame.c
+++ b/arch/x86/kernel/unwind_frame.c
@@ -36,7 +36,7 @@ static void unwind_dump(struct unwind_state *state, unsigned long *sp)
dumped_before = true;
- printk_deferred("unwind stack type:%d next_sp:%p mask:%lx graph_idx:%d\n",
+ printk_deferred("unwind stack type:%d next_sp:%p mask:0x%lx graph_idx:%d\n",
state->stack_info.type, state->stack_info.next_sp,
state->stack_mask, state->graph_idx);
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] x86/unwind: unwind_dump() cleanups Josh Poimboeuf <jpoimboe@redhat.com> - 2017-04-18 15:20 +0200
[PATCH 1/3] x86/unwind: properly zero-pad 32-bit values in unwind_dump() Josh Poimboeuf <jpoimboe@redhat.com> - 2017-04-18 15:20 +0200
[tip:x86/asm] x86/unwind: Properly zero-pad 32-bit values in unwind_dump() tip-bot for Josh Poimboeuf <tipbot@zytor.com> - 2017-04-19 10:20 +0200
[PATCH 3/3] x86/unwind: remove unused 'sp' argument in unwind_dump() Josh Poimboeuf <jpoimboe@redhat.com> - 2017-04-18 15:20 +0200
[tip:x86/asm] x86/unwind: Remove unused 'sp' parameter in unwind_dump() tip-bot for Josh Poimboeuf <tipbot@zytor.com> - 2017-04-19 10:20 +0200
[PATCH 2/3] x86/unwind: prepend hex mask value with '0x' in unwind_dump() Josh Poimboeuf <jpoimboe@redhat.com> - 2017-04-18 15:20 +0200
[tip:x86/asm] x86/unwind: Prepend hex mask value with '0x' in unwind_dump() tip-bot for Josh Poimboeuf <tipbot@zytor.com> - 2017-04-19 10:20 +0200
csiph-web