Re: [PATCH 183/196] driver core: fix build with SYSFS=n

From: Andrew Morton
Date: Fri Jan 25 2008 - 17:34:18 EST


> On Fri, 25 Jan 2008 23:25:30 +0100 Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Greg Kroah-Hartman <gregkh@xxxxxxx> wrote:
>
> > From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> >
> > When SYSFS=n and MODULES=y, build ends with:
> >
> > linux-2.6.24-rc6-mm1/drivers/base/module.c: In function 'module_add_driver':
> > linux-2.6.24-rc6-mm1/drivers/base/module.c:49: error: 'module_kset' undeclared (first use in this function)
> > make[3]: *** [drivers/base/module.o] Error 1
>
> _PLEASE_ fold such fixes into the patch that introduces the build bugs,
> prior sending your git trees upstream! (just like Andrew does it with
> all patches that come via -mm)
>
> Changes like this (and it now leaked into Linus' tree as well) kill
> bisectability.
>

Absolutely - this is important. After several hours mucking about I just
gave up trying to bisect a 2.6.24-rc1 regression due to hitting 100% build
errors and runtime oopses during the bisection. Mainly from networking in
that case.
--
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/