linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86: cleanup "idle=mwait" removal warning message
@ 2011-06-04  7:35 Németh Márton
  2011-06-04  8:06 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: Németh Márton @ 2011-06-04  7:35 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86,
	Thomas Renninger, Tejun Heo, Borislav Petkov
  Cc: LKML

From: Márton Németh <nm127@freemail.hu>

Cleanup the warning message. This will remove the following warning message
when compiling:

 * arch/x86/kernel/process.c:645:1: warning: unknown escape sequence '\i'

Signed-off-by: Márton Németh <nm127@freemail.hu>
---
--- linux-3.0-rc1/arch/x86/kernel/process.c.orig	2011-06-03 23:56:51.000000000 +0200
+++ linux-3.0-rc1/arch/x86/kernel/process.c	2011-06-04 07:23:54.000000000 +0200
@@ -642,7 +642,7 @@ static int __init idle_setup(char *str)
 		boot_option_idle_override = IDLE_POLL;
 	} else if (!strcmp(str, "mwait")) {
 		boot_option_idle_override = IDLE_FORCE_MWAIT;
-		WARN_ONCE(1, "\idle=mwait\" will be removed in 2012\"\n");
+		WARN_ONCE(1, "\"idle=mwait\" will be removed in 2012\n");
 	} else if (!strcmp(str, "halt")) {
 		/*
 		 * When the boot option of idle=halt is added, halt is

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86: cleanup "idle=mwait" removal warning message
  2011-06-04  7:35 [PATCH] x86: cleanup "idle=mwait" removal warning message Németh Márton
@ 2011-06-04  8:06 ` Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2011-06-04  8:06 UTC (permalink / raw)
  To: Németh Márton
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86,
	Thomas Renninger, Tejun Heo, Borislav Petkov, LKML

On Sat, Jun 04, 2011 at 09:35:29AM +0200, Németh Márton wrote:
> From: Márton Németh <nm127@freemail.hu>
> 
> Cleanup the warning message. This will remove the following warning message
> when compiling:
> 
>  * arch/x86/kernel/process.c:645:1: warning: unknown escape sequence '\i'

Yeah, yours is correct.

But I think we fixed that already in an orchestrated and concentrated
effort of at least 4 people fixing one printk string culminating in
Linus intervening with an evil merge: af0d6a0a

:-)

Keep up the good work, though, the next issue is right around the
corner, I'm sure.

-- 
Regards/Gruss,
    Boris.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-04  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-04  7:35 [PATCH] x86: cleanup "idle=mwait" removal warning message Németh Márton
2011-06-04  8:06 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).