Skip to contentSkip to conversation

x86/mm: minor warning message cleanup

PATCH In review Prarit Bhargava 2 participants 2 messages Aug 9, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/mm: minor warning message cleanup

Capitalize R in RIP.

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Ard Biesheuvel <[email protected]>
Cc Tony Luck <[email protected]>
---
 arch/x86/mm/extable.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/extable.c +1 -1
index 832b98f822be..bef3aa199f94 100644
@@ -62,7 +62,7 @@ EXPORT_SYMBOL(ex_handler_rdmsr_unsafe);
 bool ex_handler_wrmsr_unsafe(const struct exception_table_entry *fixup,
 			     struct pt_regs *regs, int trapnr)
 {
-	if (pr_warn_once("unchecked MSR access error: WRMSR to 0x%x (tried to write 0x%08x%08x) at rIP: 0x%lx (%pF)\n",
+	if (pr_warn_once("unchecked MSR access error: WRMSR to 0x%x (tried to write 0x%08x%08x) at RIP: 0x%lx (%pF)\n",
 			 (unsigned int)regs->cx, (unsigned int)regs->dx,
 			 (unsigned int)regs->ax,  regs->ip, (void *)regs->ip))
 		show_stack_regs(regs);
Signature · 1 line
1.7.9.3
#1 lore raw
Quoted 21 lines · Prarit Bhargava

Capitalize R in RIP.

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Ard Biesheuvel <[email protected]>
Cc Tony Luck <[email protected]>
---
 arch/x86/mm/extable.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/extable.c +0 -0
index 832b98f822be..bef3aa199f94 100644

arch/x86/mm/extable.c EXPORT_SYMBOL(ex_handler_rdmsr_unsafe); · line 65

Quoted 5 lines
arch/x86/mm/extable.c +1 -1
@@ -62,7 +62,7 @@ EXPORT_SYMBOL(ex_handler_rdmsr_unsafe);
 bool ex_handler_wrmsr_unsafe(const struct exception_table_entry *fixup,
 			     struct pt_regs *regs, int trapnr)
 {
-	if (pr_warn_once("unchecked MSR access error: WRMSR to 0x%x (tried to write 0x%08x%08x) at rIP: 0x%lx (%pF)\n",
+	if (pr_warn_once("unchecked MSR access error: WRMSR to 0x%x (tried to write 0x%08x%08x) at RIP: 0x%lx (%pF)\n",

Nope:

rIP: 16-bit, 32-bit, or 64-bit instruction-pointer register. Compare RIP.
RIP: 64-bit instruction-pointer register.

Signature · 7 lines
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--