From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933429AbdDSINv (ORCPT ); Wed, 19 Apr 2017 04:13:51 -0400 Received: from terminus.zytor.com ([65.50.211.136]:51747 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760925AbdDSINq (ORCPT ); Wed, 19 Apr 2017 04:13:46 -0400 Date: Wed, 19 Apr 2017 01:08:06 -0700 From: tip-bot for Josh Poimboeuf Message-ID: Cc: peterz@infradead.org, torvalds@linux-foundation.org, brgerst@gmail.com, linux-kernel@vger.kernel.org, mingo@kernel.org, luto@kernel.org, hpa@zytor.com, dvlasenk@redhat.com, bp@alien8.de, jpoimboe@redhat.com, tglx@linutronix.de Reply-To: hpa@zytor.com, dvlasenk@redhat.com, mingo@kernel.org, linux-kernel@vger.kernel.org, luto@kernel.org, peterz@infradead.org, torvalds@linux-foundation.org, brgerst@gmail.com, jpoimboe@redhat.com, bp@alien8.de, tglx@linutronix.de In-Reply-To: References: To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/asm] x86/unwind: Prepend hex mask value with '0x' in unwind_dump() Git-Commit-ID: 4ea3d7410c3597910071182a6bc258c015942887 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 4ea3d7410c3597910071182a6bc258c015942887 Gitweb: http://git.kernel.org/tip/4ea3d7410c3597910071182a6bc258c015942887 Author: Josh Poimboeuf AuthorDate: Tue, 18 Apr 2017 08:12:57 -0500 Committer: Ingo Molnar CommitDate: Wed, 19 Apr 2017 09:59:47 +0200 x86/unwind: Prepend hex mask value with '0x' in unwind_dump() In unwind_dump(), the stack mask value is printed in hex, but is confusingly not prepended with '0x'. Signed-off-by: Josh Poimboeuf Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/e7fe41be19d73c9f99f53082486473febfe08ffa.1492520933.git.jpoimboe@redhat.com Signed-off-by: Ingo Molnar --- 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);