All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86 idle: Fix mwait deprecation warning
@ 2011-05-30  9:38 Borislav Petkov
  2011-05-30 11:04 ` [tip:x86/urgent] x86 idle: Fix mwait deprecation warning message tip-bot for Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: Borislav Petkov @ 2011-05-30  9:38 UTC (permalink / raw)
  To: Len Brown; +Cc: X86 ML, LKML, Borislav Petkov

Fix

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

due to missing escape backslash.

Cc: Len Brown <len.brown@intel.com>
Cc: stable@kernel.org # .39.x
Signed-off-by: Borislav Petkov <bp@alien8.de>
---
 arch/x86/kernel/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 426a5b6..3d83a71 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -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
-- 
1.7.5.rc1.16.g9db1


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

* [tip:x86/urgent] x86 idle: Fix mwait deprecation warning message
  2011-05-30  9:38 [PATCH] x86 idle: Fix mwait deprecation warning Borislav Petkov
@ 2011-05-30 11:04 ` tip-bot for Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Borislav Petkov @ 2011-05-30 11:04 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, torvalds, bp, tglx, len.brown, mingo

Commit-ID:  598e887d8b01655780c81cc86a9e7820ed091580
Gitweb:     http://git.kernel.org/tip/598e887d8b01655780c81cc86a9e7820ed091580
Author:     Borislav Petkov <bp@alien8.de>
AuthorDate: Mon, 30 May 2011 11:38:06 +0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 30 May 2011 13:02:04 +0200

x86 idle: Fix mwait deprecation warning message

Fix:

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

due to missing escape backslash, introduced by this commit:

  5d4c47e0195b: x86 idle: deprecate mwait_idle() and "idle=mwait" cmdline param

Signed-off-by: Borislav Petkov <bp@alien8.de>
Cc: Len Brown <len.brown@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1306748286-24701-1-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/kernel/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 426a5b6..3d83a71 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -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 related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-30 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-30  9:38 [PATCH] x86 idle: Fix mwait deprecation warning Borislav Petkov
2011-05-30 11:04 ` [tip:x86/urgent] x86 idle: Fix mwait deprecation warning message tip-bot for Borislav Petkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.