RE: idebus setup problem (2.6.7-rc1)

From: Zhu, Yi
Date: Sun Jun 06 2004 - 08:13:38 EST


Bartlomiej Zolnierkiewicz wrote:
>
> Why can't we apply this minimal fix from Yi for now?

Thanks, this is in 2.6.7-rc2-mm2.

>
> --- linux-2.6.7-rc1-mm1.orig/init/main.c 2004-05-28
> 12:39:15.549314064 +0800 +++ linux-2.6.7-rc1-mm1/init/main.c
> 2004-05-28 12:40:29.399087192 +0800
> @@ -162,7 +162,7 @@ static int __init obsolete_checksetup(ch
> p = &__setup_start; do {
> int n = strlen(p->str);
> - if (len <= n && !strncmp(line, p->str, n)) {
> + if (n == 0 || (len <= n && !strncmp(line, p->str,
> n))) { /* Already done in parse_early_param?
> */ if (p->early)
> return 1;
>

Thanks,
-yi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/