linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warningiIn Linus' tree
@ 2011-05-30  1:48 Stephen Rothwell
  2011-05-30  3:47 ` Len Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2011-05-30  1:48 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-next, linux-kernel, x86, stable

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Hi all,

In Linus' tree, today's linux-next build (x86_84 allmodconfig) produced
this warning:

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

Introduced by commit 5d4c47e0195b ("x86 idle: deprecate mwait_idle() and
"idle=mwait" cmdline param").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: linux-next: build warningiIn Linus' tree
  2011-05-30  1:48 linux-next: build warningiIn Linus' tree Stephen Rothwell
@ 2011-05-30  3:47 ` Len Brown
  2011-05-30  7:34   ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: Len Brown @ 2011-05-30  3:47 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Len Brown, linux-next, linux-kernel, x86, stable

From: Len Brown <len.brown@intel.com>
Date: Sun, 29 May 2011 23:38:15 -0400
Subject: [PATCH] x86 idle: fix build warning for WARN_ONCE("idle=mwait")

In 5d4c47e0195b989f284907358bd5c268a44b91c7
"x86 idle: deprecate mwait_idle() and "idle=mwait" cmdline param"...

I fat-fingered the editing when I updated the WARN_ONCE() string:

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

remove the '\n' while we are here, it works fine without it.

Signed-off-by: Len Brown <len.brown@intel.com>
---
 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..c54f87d 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");
 	} else if (!strcmp(str, "halt")) {
 		/*
 		 * When the boot option of idle=halt is added, halt is
-- 
1.7.4.4

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

* Re: linux-next: build warningiIn Linus' tree
  2011-05-30  3:47 ` Len Brown
@ 2011-05-30  7:34   ` Ingo Molnar
  2011-05-30 19:11     ` Brown, Len
  0 siblings, 1 reply; 5+ messages in thread
From: Ingo Molnar @ 2011-05-30  7:34 UTC (permalink / raw)
  To: Len Brown
  Cc: Stephen Rothwell, Len Brown, linux-next, linux-kernel, x86,
	stable, Linus Torvalds, Andrew Morton


* Len Brown <lenb@kernel.org> wrote:

> From: Len Brown <len.brown@intel.com>
> Date: Sun, 29 May 2011 23:38:15 -0400
> Subject: [PATCH] x86 idle: fix build warning for WARN_ONCE("idle=mwait")
> 
> In 5d4c47e0195b989f284907358bd5c268a44b91c7
> "x86 idle: deprecate mwait_idle() and "idle=mwait" cmdline param"...
> 
> I fat-fingered the editing when I updated the WARN_ONCE() string:
> 
> arch/x86/kernel/process.c: In function 'idle_setup':
> arch/x86/kernel/process.c:645:1: warning: unknown escape sequence: '\i'
> 
> remove the '\n' while we are here, it works fine without it.
> 
> Signed-off-by: Len Brown <len.brown@intel.com>
> ---
>  arch/x86/kernel/process.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Len, i'd *really* prefer it if patches changing arch/x86/ had a 
longer test time in linux-next than what you are gave it here.

This kind of 'send them to lkml and merge them into your linux-next 
branch and send it to Linus on the same day' kind of ambush you have 
done with the 'x86 idle' patches might be convenient to you, but it 
is inconvenient to pretty much anyone else - and it is absolutely 
unacceptable to us x86 maintainers ...

*Especially* as these patches were contentious when you last posted 
them as an RFC to lkml ...

So please watch out for this in the future, ok?

Thanks,

	Ingo

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

* RE: linux-next: build warningiIn Linus' tree
  2011-05-30  7:34   ` Ingo Molnar
@ 2011-05-30 19:11     ` Brown, Len
  2011-05-30 19:23       ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: Brown, Len @ 2011-05-30 19:11 UTC (permalink / raw)
  To: Ingo Molnar, Len Brown
  Cc: Stephen Rothwell, linux-next, linux-kernel, x86, stable,
	Linus Torvalds, Andrew Morton

> Len, i'd *really* prefer it if patches changing arch/x86/ had a
> longer test time in linux-next than what you are gave it here.

I agree 100%, and I will do better in the future.

This was very difficult timing for a merge window for me.

> these patches were contentious when you last posted
> them as an RFC to lkml ...

The idle cleanup patches were contentious when I posed them
because my original proposal deleted a bunch of code right away.

Alan convinced me that the community doesn't move that fast,
and that we should wallow in the swill for a while longer before
deleting.  Others volunteered to test the latest upstream kernel
on APM hardware, giving APM's presence in the upstream kernel a life line.
So all I did was add the recommended feature-removal's and warnings
for the stuff which obviously should go.  But if you see some of
your favorite bits on the chopping block, you have at least
6 months to make a case for them:-)

thanks,
-Len

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

* Re: linux-next: build warningiIn Linus' tree
  2011-05-30 19:11     ` Brown, Len
@ 2011-05-30 19:23       ` Ingo Molnar
  0 siblings, 0 replies; 5+ messages in thread
From: Ingo Molnar @ 2011-05-30 19:23 UTC (permalink / raw)
  To: Brown, Len
  Cc: Len Brown, Stephen Rothwell, linux-next, linux-kernel, x86,
	stable, Linus Torvalds, Andrew Morton


* Brown, Len <len.brown@intel.com> wrote:

> Alan convinced me that the community doesn't move that fast, and 
> that we should wallow in the swill for a while longer before 
> deleting. [...]

Yeah, it's much nicer this way.

> [...] Others volunteered to test the latest upstream kernel on APM 
> hardware, giving APM's presence in the upstream kernel a life line. 
> So all I did was add the recommended feature-removal's and warnings 
> for the stuff which obviously should go.  But if you see some of 
> your favorite bits on the chopping block, you have at least 6 
> months to make a case for them :-)

:-)

I only saw one of the runtime warnings on one of my testboxes - i 
adjusted the boot parameter setting (the parameter was bogus) and 
moved on. So life can go on as far as i'm involved :-)

Thanks,

	Ingo

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-30  1:48 linux-next: build warningiIn Linus' tree Stephen Rothwell
2011-05-30  3:47 ` Len Brown
2011-05-30  7:34   ` Ingo Molnar
2011-05-30 19:11     ` Brown, Len
2011-05-30 19:23       ` Ingo Molnar

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).