[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    x86 idle: Fix mwait deprecation warning message
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2011-05-31 17:59:02
Message-ID: 201105311759.p4VHx21p016235 () hera ! kernel ! org
[Download RAW message or body]

Gitweb:     http://git.kernel.org/linus/598e887d8b01655780c81cc86a9e7820ed091580
Commit:     598e887d8b01655780c81cc86a9e7820ed091580
Parent:     55922c9d1b84b89cb946c777fddccb3247e7df2c
Author:     Borislav Petkov <bp@alien8.de>
AuthorDate: Mon May 30 11:38:06 2011 +0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Mon May 30 13:02:04 2011 +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
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic