[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <p73bq704zqs.fsf@bingen.suse.de>
Date: Fri, 01 Feb 2008 13:39:39 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Yinghai Lu <Yinghai.Lu@....COM>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] make loglevel related commandline to early_param
Yinghai Lu <Yinghai.Lu@....COM> writes:
> diff --git a/init/main.c b/init/main.c
> index cb81ed1..a774a93 100644
> --- a/init/main.c
> +++ b/init/main.c
> @@ -232,22 +232,18 @@ EXPORT_SYMBOL(loops_per_jiffy);
>
> static int __init debug_kernel(char *str)
> {
> - if (*str)
> - return 0;
> console_loglevel = 10;
> return 1;
The return semantics changes with early_param so you need to change that in all cases to return 0
(and negative value for errors)
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists