lkml.org 
[lkml]   [2008]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Typo bug [Re: Linux 2.6.27-rc8]
On Tue, 30 Sep 2008 09:55:53 +0200, Ingo Molnar <mingo@elte.hu> wrote:

>
> * J.A. Magallón <jamagallon@ono.com> wrote:
>
> > Hi....
> >
> > On Mon, 29 Sep 2008 15:39:09 -0700 (PDT), Linus Torvalds <torvalds@linux-foundation.org> wrote:
> >
> > >
> > > So yet another week, another -rc. This one should be the last one: we're
> > > certainly not running out of regressions, but at the same time, at some
> > > point I just have to pick some point, and on the whole the regressions
> > > don't look _too_ scary. And -rc8 obviously does fix more of them.
> > >
> > > Most of the changes since -rc7 are pretty small, and there aren't even a
> > > whole lot of them. The shortlog (appended) is just a couple of pages, and
> > > the diffstat is even smaller, but since the dirstat is a dense overview,
> > > I'll just put that here instead:
> > >
> >
> >
> > Dealing with my Aspire One setup, I found this (so obvious I don't
> > send a patch:)
> >
> >
> > arch/x86/kernel/cpu/mtrr/main.c:
> >
> > static int __init disable_mtrr_cleanup_setup(char *str)
> > {
> > if (enable_mtrr_cleanup != -1)
> > enable_mtrr_cleanup = 0;
> > return 0;
> > }
> > early_param("disable_mtrr_cleanup", disable_mtrr_cleanup_setup);
> >
> > static int __init enable_mtrr_cleanup_setup(char *str)
> > {
> > if (enable_mtrr_cleanup != -1)
> > enable_mtrr_cleanup = 1;
> > return 0;
> > }
> > early_param("enble_mtrr_cleanup", enable_mtrr_cleanup_setup);
> > ^^^^^^
> >
> > Nice ;)
>
> heh. Could you send a patch with a changelog please?
>

Here it goes...I hope its right.

==================

Correct typo for 'enable_mtrr_cleanup' early boot param name.

Signed-off-by: J.A. Magallon <jamagallon@ono.com>

diff -p -up linux/arch/x86/kernel/cpu/mtrr/main.c.orig linux/arch/x86/kernel/cpu/mtrr/main.c
--- linux/arch/x86/kernel/cpu/mtrr/main.c.orig 2008-09-30 09:57:46.000000000 +0200
+++ linux/arch/x86/kernel/cpu/mtrr/main.c 2008-09-30 09:57:55.000000000 +0200
@@ -834,7 +834,7 @@ static int __init enable_mtrr_cleanup_se
enable_mtrr_cleanup = 1;
return 0;
}
-early_param("enble_mtrr_cleanup", enable_mtrr_cleanup_setup);
+early_param("enable_mtrr_cleanup", enable_mtrr_cleanup_setup);

struct var_mtrr_state {
unsigned long range_startk;










--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2009.0 (Cooker) for i586
Linux 2.6.25-jam18 (gcc 4.3.1 20080626 (GCC) #1 SMP
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-09-30 10:05    [W:0.044 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site