Re: [PATCH] sparse chokes on arch/i386/kernel/i8253.c

From: Andrew Morton
Date: Thu Feb 15 2007 - 20:31:38 EST


On Thu, 15 Feb 2007 19:58:04 -0500
Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> > >
> > > --- a/Makefile
> > > +++ b/Makefile
> > > @@ -309,7 +309,8 @@ AFLAGS_KERNEL =
> > > LINUXINCLUDE := -Iinclude \
> > > $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
> > > -include include/linux/autoconf.h \
> > > - -include linux/marker.h
> > > + -include \
> > > + $(if $(KBUILD_SRC),$(srctree)/)include/linux/marker.h
> > >
> > > CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
> >
> > But what is so magical about marker.h to justify special-case treatment at the
> > kbuid level?
>
> Idealistically speaking, nothing. It is however much easier to maintain
> an external set of patches introducing markers within the kernel tree :
> most of the rejects between kernel version comes from new includes that
> comes in the way.
>
> So this is there more by convenience than requirement.

No sale. Let's kill it, please ;)
-
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/