Skip to contentSkip to conversation

x86_32: remove redundant KERN_INFO

PATCH Applied Hiroshi Shimamoto 2 participants 2 messages Jul 3, 2008 – Jul 18, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_32: remove redundant KERN_INFO

From: Hiroshi Shimamoto <[email protected]>

This printk has a KERN_ facility level in the format string.

---
 arch/x86/kernel/signal_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/signal_32.c +1 -1
index d923736..d633d80 100644
@@ -212,7 +212,7 @@ asmlinkage unsigned long sys_sigreturn(unsigned long __unused)
 
 badframe:
 	if (show_unhandled_signals && printk_ratelimit()) {
-		printk(KERN_INFO "%s%s[%d] bad frame in sigreturn frame:"
+		printk("%s%s[%d] bad frame in sigreturn frame:"
 			"%p ip:%lx sp:%lx oeax:%lx",
 		    task_pid_nr(current) > 1 ? KERN_INFO : KERN_EMERG,
 		    current->comm, task_pid_nr(current), frame, regs->ip,
Signature · 1 line
1.5.4.1
Applied
#1 lore raw
Quoted 3 lines · Hiroshi Shimamoto

From: Hiroshi Shimamoto <[email protected]>

This printk has a KERN_ facility level in the format string.

applied to tip/x86/cleanups, thanks.

Ingo