Skip to content

Commit 77d62f2

Browse files
hcahcagregkh
authored andcommitted
s390/jump_label: print real address in a case of a jump label bug
[ Upstream commit 5492886 ] In case of a jump label print the real address of the piece of code where a mismatch was detected. This is right before the system panics, so there is nothing revealed. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 863d2eb commit 77d62f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/s390/kernel/jump_label.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static void jump_label_bug(struct jump_entry *entry, struct insn *expected,
3636
unsigned char *ipe = (unsigned char *)expected;
3737
unsigned char *ipn = (unsigned char *)new;
3838

39-
pr_emerg("Jump label code mismatch at %pS [%p]\n", ipc, ipc);
39+
pr_emerg("Jump label code mismatch at %pS [%px]\n", ipc, ipc);
4040
pr_emerg("Found: %6ph\n", ipc);
4141
pr_emerg("Expected: %6ph\n", ipe);
4242
pr_emerg("New: %6ph\n", ipn);

0 commit comments

Comments
 (0)